mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
19 lines
242 B
HCL
19 lines
242 B
HCL
provider "test" {
|
|
region = "somewhere"
|
|
}
|
|
|
|
provider "test" {
|
|
alias = "backup"
|
|
region = "elsewhere"
|
|
}
|
|
|
|
resource "test_instance" "test" {
|
|
ami = "foo"
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
providers = {
|
|
test = test.backup
|
|
}
|
|
}
|