github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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 }