mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 11:17:35 -05:00
20 lines
242 B
HCL
20 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
|
|
}
|
|
}
|