github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/plan-targeted-module-untargeted-variable/main.tf (about) 1 resource "aws_instance" "blue" { } 2 resource "aws_instance" "green" { } 3 4 module "blue_mod" { 5 source = "./child" 6 id = "${aws_instance.blue.id}" 7 } 8 9 module "green_mod" { 10 source = "./child" 11 id = "${aws_instance.green.id}" 12 }