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