mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-15 01:53:51 -06:00
9 lines
141 B
Terraform
9 lines
141 B
Terraform
|
resource "aws_instance" "bar" {
|
||
|
baz = "baz"
|
||
|
count = 2
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "foo" {
|
||
|
foo = "${join(",",aws_instance.bar.*.baz)}"
|
||
|
}
|