mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -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
|
|
}
|
|
}
|