terraform/internal/command/testdata/show-json/provider-aliasing-default/main.tf

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
}
}