github.com/pulumi/terraform@v1.4.0/pkg/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  }