github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/integration/module/module.tf (about) 1 variable "unknown" {} 2 3 variable "instance_type" { 4 default = "t1.2xlarge" 5 } 6 7 module "instances" { 8 source = "./module" 9 10 unknown = var.unknown 11 enable = true 12 instance_type = var.instance_type 13 } 14 15 module "instances_with_annotations" { 16 source = "./module" 17 18 unknown = var.unknown 19 // tflint-ignore: aws_instance_invalid_type 20 enable = true 21 // tflint-ignore: aws_instance_invalid_type 22 instance_type = var.instance_type 23 } 24 25 module "ignored_instances" { 26 source = "./ignore_module" 27 28 instance_type = "t1.2xlarge" 29 }