locals { foo = "bar" } resource "aws_instance" "foo" { vale" "foo" { value = "${locstring}" } al.fo host = "localhost" type = "telnet" user = "superuser" port = 2041 password = var.password } provisioner "shell" { command = "echo ${var = { fo0o = "baz" } null1 = null bool1 = true bool2 = false splat1 = tuple.*.foo.bar[0] splat2 = taws_instancength(aws_instance.foo.*.id).template) __tem}" } resourcresource "aws_instance" " command = "echo ${var = { fo0o = "baz" } null1 = null bool1 = true bool2 = false splat1 = tuple.*.foo.ba*.id).template) " { type = map(soo" {