github.com/mcuckson/tflint@v0.8.0/integration/basic/template.tf (about) 1 resource "aws_route" "not_specified" { // aws_route_not_specified_target 2 route_table_id = "rtb-1234abcd" 3 destination_cidr_block = "10.0.1.0/22" 4 } 5 6 resource "aws_route" "multiple_specified" { // aws_route_specified_multiple_targets 7 route_table_id = "rtb-1234abcd" 8 destination_cidr_block = "10.0.1.0/22" 9 gateway_id = "igw-1234abcd" 10 egress_only_gateway_id = "eigw-1234abcd" 11 } 12 13 resource "aws_cloudwatch_metric_alarm" "rds-writer-memory" { 14 alarm_name = "terraform-test-foobar5" 15 comparison_operator = "GreaterThanOrEqualToThreshold" 16 evaluation_periods = "2" 17 metric_name = "CPUUtilization" 18 namespace = "AWS/EC2" 19 period = "120" 20 statistic = "Average" 21 threshold = "80" 22 unit = "percent" // aws_cloudwatch_metric_alarm_invalid_unit 23 alarm_description = "This metric monitor ec2 cpu utilization" 24 insufficient_data_actions = [] 25 } 26 27 resource "aws_route" "not_specified2" { // aws_route_not_specified_target 28 route_table_id = "rtb-1234abcd" 29 destination_cidr_block = "10.0.1.0/22" 30 }