github.com/heimweh/terraform@v0.7.4/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 }