opentofu/terraform/test-fixtures/plan-var-multi-count-one/main.tf

10 lines
136 B
Terraform
Raw Normal View History

resource "aws_instance" "foo" {
num = "2"
count = 1
}
resource "aws_instance" "bar" {
foo = "${aws_instance.foo.*.num}"
}