github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/api/definitions/aws_route.hcl (about) 1 rule "aws_route_invalid_egress_only_gateway" { 2 resource = "aws_route" 3 attribute = "egress_only_gateway_id" 4 source_action = "DescribeEgressOnlyInternetGateways" 5 template = "\"%s\" is invalid egress only internet gateway ID." 6 } 7 8 rule "aws_route_invalid_gateway" { 9 resource = "aws_route" 10 attribute = "gateway_id" 11 source_action = "DescribeInternetGateways" 12 template = "\"%s\" is invalid internet gateway ID." 13 } 14 15 rule "aws_route_invalid_instance" { 16 resource = "aws_route" 17 attribute = "instance_id" 18 source_action = "DescribeInstances" 19 template = "\"%s\" is invalid instance ID." 20 } 21 22 rule "aws_route_invalid_nat_gateway" { 23 resource = "aws_route" 24 attribute = "nat_gateway_id" 25 source_action = "DescribeNatGateways" 26 template = "\"%s\" is invalid NAT gateway ID." 27 } 28 29 rule "aws_route_invalid_network_interface" { 30 resource = "aws_route" 31 attribute = "network_interface_id" 32 source_action = "DescribeNetworkInterfaces" 33 template = "\"%s\" is invalid network interface ID." 34 } 35 36 rule "aws_route_invalid_route_table" { 37 resource = "aws_route" 38 attribute = "route_table_id" 39 source_action = "DescribeRouteTables" 40 template = "\"%s\" is invalid route table ID." 41 } 42 43 rule "aws_route_invalid_vpc_peering_connection" { 44 resource = "aws_route" 45 attribute = "vpc_peering_connection_id" 46 source_action = "DescribeVpcPeeringConnections" 47 template = "\"%s\" is invalid VPC peering connection ID." 48 }