github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/tflint/test-fixtures/nested_module_vars/module/main.tf (about)

     1  variable "foo" {}
     2  variable "bar" {}
     3  variable "baz" {}
     4  
     5  module "module2" {
     6    source = "./module"
     7  
     8    red   = "${var.foo}-${var.bar}"
     9    blue  = "blue"
    10    green = "${var.foo}-${var.baz}-${path.module}"
    11  }