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