mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-09 07:05:33 -06:00
6 lines
116 B
Terraform
6 lines
116 B
Terraform
|
resource "aws_instance" "foo" {}
|
||
|
|
||
|
resource "aws_instance" "web" {
|
||
|
count = "${length(aws_instance.foo.*.bar)}"
|
||
|
}
|