mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-15 01:53:51 -06:00
8 lines
126 B
Terraform
8 lines
126 B
Terraform
|
resource "aws_instance" "foo" {
|
||
|
num = "2"
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "bar" {
|
||
|
foo = "${aws_instance.foo.num}"
|
||
|
}
|