mirror of https://github.com/hashicorp/terraform
Merge pull request #7131 from hashicorp/b-destroy-module-provider-config
core: Fix destroy when module vars used in provider configpull/7133/head
commit
445cd84f62
@ -0,0 +1,7 @@
|
||||
variable "input" {}
|
||||
|
||||
provider "aws" {
|
||||
region = "us-east-${var.input}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" { }
|
||||
@ -0,0 +1,4 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
input = "1"
|
||||
}
|
||||
Loading…
Reference in new issue