opentofu/terraform/test-fixtures/apply-destroy-module-with-attrs/main.tf

11 lines
164 B
Terraform
Raw Normal View History

resource "aws_instance" "vpc" { }
module "child" {
source = "./child"
vpc_id = "${aws_instance.vpc.id}"
}
output "out" {
value = "${module.child.modout}"
}