terraform/config/test-fixtures/validate-prov-conn-splat-self/main.tf

8 lines
152 B
Terraform
Raw Normal View History

resource "aws_instance" "bar" {
connection {
host = "${element(aws_instance.bar.*.private_ip, 0)}"
}
provisioner "local-exec" {}
}