terraform/config/testdata/validate-var-multi-exact-no.../main.tf

8 lines
120 B
HCL

resource "aws_instance" "foo" {
count = 3
}
resource "aws_instance" "bar" {
foo = "${aws_instance.foo.0.id}"
}