opentofu/terraform/test-fixtures/plan-count-var/main.tf
2014-10-09 22:45:22 -07:00

11 lines
182 B
HCL

variable "count" {}
resource "aws_instance" "foo" {
count = "${var.count}"
foo = "foo"
}
resource "aws_instance" "bar" {
foo = "${join(",", aws_instance.foo.*.foo)}"
}