mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
13 lines
207 B
HCL
13 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"]
|
|
}
|