provider "test" {
region = "somewhere"
}
alias = "backup"
region = "elsewhere"
resource "test_instance" "test" {
ami = "foo"
module "child" {
source = "./child"
providers = {
test = test.backup