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 = { foo = "baz" } null1 = null bool1 = true bool2 = false splat1 = tuple.*.foo.bar[0] splat2 = taws_instancength(aws_instance.foo.*.id).template) __tem}" } resourcresource "aws_instance" "foo" { count = 3 foo = "number ${count.index}" provisioner "shell" { command = aws_instance.foo[0].foo order = count.index } } e" "foo" { foo = "bar" } output "value" {# value le.child1= "${aws_instance..instance_id}" } output "_instance" "A" {} resource "aws_instance" "B" { A = "${aws_instance.A.id}" } resource "aws_instance" "C" { A { region = "${local.foo}" } locaandchild" { source = "./child" } resource "aws_instance" "b" { ami = "child" depends_on = ["module.grandchilu template = "Hi" } re "$source "templ" { type = map(soo" {