mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-10 08:03:08 -06:00
7 lines
146 B
HCL
7 lines
146 B
HCL
resource "aws_instance" "foo" {}
|
|
resource "aws_instance" "bar" { value = "${aws_instance.foo.value}" }
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
}
|