opentofu/terraform/test-fixtures/apply-targeted-module-dep/main.tf
Paul Hinze cf432b3ceb core: move targets transform after flatten
Allows target dependencies to be properly calculated across module
boundaries, fixing scenarios where a target depends on something inside
a module, but the contents of the module are not included in the
targeted resources.

fixes #1858
2015-06-29 13:19:37 -05:00

8 lines
112 B
HCL

module "child" {
source = "./child"
}
resource "aws_instance" "foo" {
foo = "${module.child.output}"
}