Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 559 Bytes

annotations.md

File metadata and controls

28 lines (22 loc) · 559 Bytes

Annotations

Annotation comments can disable rules on specific lines:

resource "aws_instance" "foo" {
    # tflint-ignore: aws_instance_invalid_type
    instance_type = "t1.2xlarge"
}

Multiple rules can be specified as a comma-separated list:

resource "aws_instance" "foo" {
    # tflint-ignore: aws_instance_invalid_type, other_rule
    instance_type = "t1.2xlarge"
}

All rules can be ignored by specifying the all keyword:

resource "aws_instance" "foo" {
    # tflint-ignore: all
    instance_type = "t1.2xlarge"
}