github.com/tomaszheflik/terraform@v0.7.3-0.20160827060421-32f990b41594/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  }