mirror of https://github.com/hashicorp/terraform
Merge pull request #2555 from hashicorp/b-target-after-flatten
core: move targets transform after flattenpull/2530/head
commit
6bbf61ae6e
@ -0,0 +1,5 @@
|
||||
resource "aws_instance" "mod" { }
|
||||
|
||||
output "output" {
|
||||
value = "${aws_instance.mod.id}"
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
foo = "${module.child.output}"
|
||||
}
|
||||
Loading…
Reference in new issue