github.com/hugorut/terraform@v1.1.3/src/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 }