github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/provider-aliasing-default/main.tf (about) 1 provider "test" { 2 region = "somewhere" 3 } 4 5 provider "test" { 6 alias = "backup" 7 region = "elsewhere" 8 } 9 10 resource "test_instance" "test" { 11 ami = "foo" 12 } 13 14 module "child" { 15 source = "./child" 16 providers = { 17 test = test.backup 18 } 19 }