github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/integration/plugin/module/template.tf (about) 1 variable "unknown" {} 2 variable "enable" {} 3 4 variable "instance_type" { 5 default = "t2.micro" 6 } 7 8 resource "aws_instance" "unknown" { 9 instance_type = var.unknown 10 } 11 12 module "instance" { 13 source = "./module" 14 15 enable = var.enable 16 instance_type = var.instance_type 17 }