github.com/LorbusChris/terraform@v0.11.12-beta1/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  }