github.com/terraform-linters/tflint@v0.51.2-0.20240520175844-3750771571b6/integrationtest/inspection/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  }