resource "test_instance" "foo" { ami = "bar" network_interface { device_index = 0 description = "Main network interface ${var.this_is_an_error}" } }