Files
nozaq 7f4019e1f6 jsonconfig: fix keys for default providers
Fixes provider config keys to reflect implicit provider inheritance.
2022-02-16 01:38:57 +09:00

20 lines
242 B
HCL

provider "test" {
region = "somewhere"
}
provider "test" {
alias = "backup"
region = "elsewhere"
}
resource "test_instance" "test" {
ami = "foo"
}
module "child" {
source = "./child"
providers = {
test = test.backup
}
}