github.com/acm1/terraform@v0.6.2-0.20150729164239-1f314444f45c/terraform/test-fixtures/plan-module-input-var/main.tf (about)

     1  variable "foo" {}
     2  
     3  module "child" {
     4      input = "${var.foo}"
     5      source = "./child"
     6  }
     7  
     8  resource "aws_instance" "bar" {
     9      foo = "2"
    10  }