mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-03 20:30:28 -06:00
9 lines
145 B
HCL
9 lines
145 B
HCL
resource "aws_instance" "foo" {
|
|
num = "2"
|
|
compute = "id"
|
|
}
|
|
|
|
resource "aws_instance" "bar" {
|
|
foo = "${aws_instance.foo.id}"
|
|
}
|