terraform/config/testdata/validate-var-multi-func/main.tf

8 lines
132 B
Terraform
Raw Normal View History

resource "aws_instance" "foo" {
count = 3
}
resource "aws_instance" "bar" {
foo = "${element(aws_instance.foo.*.id, 0)}"
}