github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/integration/plugin/module.tf (about)

     1  variable "unknown" {}
     2  
     3  variable "instance_type" {
     4    default = "t1.2xlarge"
     5  }
     6  
     7  resource "aws_instance" "foo" {
     8    instance_type = var.instance_type
     9  }
    10  
    11  module "instances" {
    12    source = "./module"
    13  
    14    unknown = var.unknown
    15    // tflint-ignore: aws_instance_example_type
    16    enable = true
    17    instance_type = var.instance_type
    18  }