github.com/lakshmikarc/terraform-2@v0.11.9-0.20181005183753-e0b7475984b7/terraform/test-fixtures/destroy-module-with-provider/main.tf (about)

     1  // this is the provider that should actually be used by orphaned resources
     2  provider "aws" {
     3    alias = "bar"
     4  }
     5  
     6  module "mod" {
     7    source = "./mod"
     8    providers = {
     9      "aws.foo" = "aws.bar"
    10    }
    11  }