mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-23 23:22:57 -06:00
13 lines
227 B
Terraform
13 lines
227 B
Terraform
|
resource "aws_instance" "blue" { }
|
||
|
resource "aws_instance" "green" { }
|
||
|
|
||
|
module "blue_mod" {
|
||
|
source = "./child"
|
||
|
id = "${aws_instance.blue.id}"
|
||
|
}
|
||
|
|
||
|
module "green_mod" {
|
||
|
source = "./child"
|
||
|
id = "${aws_instance.green.id}"
|
||
|
}
|