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