github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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  }