mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
This is a context test for the behavior enabled by #14135, as some insurance to decrease the chance that we break it again.
10 lines
186 B
HCL
10 lines
186 B
HCL
resource "aws_instance" "foo" {
|
|
name = "foo ${count.index}"
|
|
count = 3
|
|
}
|
|
|
|
resource "aws_instance" "bar" {
|
|
foo_name = "${aws_instance.foo.*.name[count.index]}"
|
|
count = 3
|
|
}
|