github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/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 }