mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 03:32:54 -06:00
12 lines
162 B
Terraform
12 lines
162 B
Terraform
|
module "child" {
|
||
|
source = "./child"
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "foo" {
|
||
|
num = "2"
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "bar" {
|
||
|
foo = "${aws_instance.foo.num}"
|
||
|
}
|