mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
8 lines
114 B
Terraform
8 lines
114 B
Terraform
|
resource "aws_instance" "A" {
|
||
|
count = 1
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "B" {
|
||
|
value = ["${aws_instance.A.*.id}"]
|
||
|
}
|