mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
12 lines
207 B
HCL
12 lines
207 B
HCL
module "a" {
|
|
source = "./child"
|
|
in = "${aws_instance.b.id}"
|
|
}
|
|
|
|
resource "aws_instance" "b" {}
|
|
|
|
resource "aws_instance" "c" {
|
|
some_input = "${module.a.out}"
|
|
|
|
depends_on = ["aws_instance.b"]
|
|
}
|