mirror of https://github.com/hashicorp/terraform
Merge pull request #627 from Banno/fix-destroy-module-inputs
fix destroy so incoming module vars get setpull/632/head
commit
d87fa90dfc
@ -0,0 +1,8 @@
|
||||
variable "instance_count" {
|
||||
default = "1"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
count = "${var.instance_count}"
|
||||
bar = "bar"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
instance_count = "2"
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue