github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/vpc.hcl (about)

     1  import = "aws-sdk-go/models/apis/ec2/2016-11-15/api-2.json"
     2  
     3  mapping "aws_customer_gateway" {
     4    bgp_asn    = Integer
     5    ip_address = String
     6    type       = GatewayType
     7    tags       = TagList
     8  }
     9  
    10  mapping "aws_default_network_acl" {
    11    default_network_acl_id = String
    12    subnet_ids             = ValueStringList
    13    ingress                = any
    14    egress                 = any
    15    tags                   = TagList
    16  }
    17  
    18  mapping "aws_default_route_table" {
    19    default_route_table_id = String
    20    route                  = RouteList
    21    tags                   = TagList
    22    propagating_vgws       = RouteTableAssociationList
    23  }
    24  
    25  mapping "aws_default_security_group" {
    26    ingress = any
    27    egress  = any
    28    vpc_id  = String
    29    tags    = TagList
    30  }
    31  
    32  mapping "aws_default_subnet" {
    33    map_public_ip_on_launch = any
    34    tags                    = TagList
    35  }
    36  
    37  mapping "aws_default_vpc" {
    38    enable_dns_support   = any
    39    enable_dns_hostnames = any
    40    enable_classiclink   = any
    41    tags                 = TagList
    42  }
    43  
    44  mapping "aws_default_vpc_dhcp_options" {
    45    netbios_name_servers = any
    46    netbios_node_type    = any
    47    tags                 = TagList
    48  }
    49  
    50  mapping "aws_egress_only_internet_gateway" {
    51    vpc_id = String
    52  }
    53  
    54  mapping "aws_flow_log" {
    55    traffic_type         = TrafficType
    56    eni_id               = String
    57    iam_role_arn         = String
    58    log_destination_type = LogDestinationType
    59    log_destination      = String
    60    log_group_name       = String
    61    subnet_id            = String
    62    vpc_id               = String
    63  }
    64  
    65  mapping "aws_internet_gateway" {
    66    vpc_id = String
    67    tags   = TagList
    68  }
    69  
    70  mapping "aws_main_route_table_association" {
    71    vpc_id         = String
    72    route_table_id = String
    73  }
    74  
    75  mapping "aws_nat_gateway" {
    76    allocation_id = String
    77    subnet_id     = String
    78    tags          = TagList
    79  }
    80  
    81  mapping "aws_network_acl" {
    82    vpc_id     = String
    83    subnet_ids = ValueStringList
    84    ingress    = any
    85    egress     = any
    86    tags       = TagList
    87  }
    88  
    89  mapping "aws_network_acl_rule" {
    90    network_acl_id  = String
    91    rule_number     = Integer
    92    egress          = Boolean
    93    protocol        = String
    94    rule_action     = RuleAction
    95    cidr_block      = String
    96    ipv6_cidr_block = String
    97    from_port       = Integer
    98    to_port         = Integer
    99    icmp_type       = Integer
   100    icmp_code       = Integer
   101  }
   102  
   103  mapping "aws_network_interface" {
   104    subnet_id         = String
   105    description       = String
   106    private_ips       = PrivateIpAddressSpecificationList
   107    private_ips_count = Integer
   108    security_groups   = SecurityGroupIdStringList
   109    attachment        = NetworkInterfaceAttachment
   110    source_dest_check = AttributeBooleanValue
   111    tags              = TagList
   112  }
   113  
   114  mapping "aws_network_interface_attachment" {
   115    instance_id          = String
   116    network_interface_id = String
   117    device_index         = Integer
   118  }
   119  
   120  mapping "aws_route" {
   121    route_table_id              = String
   122    destination_cidr_block      = String
   123    destination_ipv6_cidr_block = String
   124    egress_only_gateway_id      = String
   125    gateway_id                  = String
   126    instance_id                 = String
   127    nat_gateway_id              = String
   128    network_interface_id        = String
   129    transit_gateway_id          = String
   130    vpc_peering_connection_id   = String
   131  }
   132  
   133  mapping "aws_route_table" {
   134    vpc_id           = String
   135    route            = RouteList
   136    tags             = TagList
   137    propagating_vgws = RouteTableAssociationList
   138  }
   139  
   140  mapping "aws_route_table_association" {
   141    subnet_id      = String
   142    route_table_id = String
   143  }
   144  
   145  mapping "aws_security_group" {
   146    name                   = String
   147    name_prefix            = any
   148    description            = String
   149    ingress                = any
   150    egress                 = any
   151    revoke_rules_on_delete = any
   152    vpc_id                 = String
   153    tags                   = TagList
   154  }
   155  
   156  mapping "aws_network_interface_sg_attachment" {
   157    security_group_id    = String
   158    network_interface_id = String
   159  }
   160  
   161  mapping "aws_security_group_rule" {
   162    type                     = any
   163    cidr_blocks              = any
   164    ipv6_cidr_blocks         = any
   165    prefix_list_ids          = any
   166    from_port                = Integer
   167    protocol                 = String
   168    security_group_id        = String
   169    source_security_group_id = String
   170    self                     = any
   171    to_port                  = Integer
   172    description              = any
   173  }
   174  
   175  mapping "aws_subnet" {
   176    availability_zone               = String
   177    availability_zone_id            = String
   178    cidr_block                      = String
   179    ipv6_cidr_block                 = String
   180    map_public_ip_on_launch         = any
   181    assign_ipv6_address_on_creation = any
   182    vpc_id                          = String
   183    tags                            = TagList
   184  }
   185  
   186  mapping "aws_vpc" {
   187    cidr_block                       = String
   188    instance_tenancy                 = Tenancy
   189    enable_dns_support               = any
   190    enable_dns_hostnames             = any
   191    enable_classiclink               = any
   192    enable_classiclink_dns_support   = any
   193    assign_generated_ipv6_cidr_block = any
   194    tags                             = TagList
   195  }
   196  
   197  mapping "aws_vpc_dhcp_options" {
   198    domain_name          = any
   199    domain_name_servers  = any
   200    ntp_servers          = any
   201    netbios_name_servers = any
   202    netbios_node_type    = any
   203    tags                 = TagList
   204  }
   205  
   206  mapping "aws_vpc_dhcp_options_association" {
   207    vpc_id          = String
   208    dhcp_options_id = String
   209  }
   210  
   211  mapping "aws_vpc_endpoint" {
   212    service_name        = String
   213    vpc_id              = String
   214    auto_accept         = any
   215    policy              = String
   216    private_dns_enabled = Boolean
   217    route_table_ids     = ValueStringList
   218    subnet_ids          = ValueStringList
   219    security_group_ids  = ValueStringList
   220    tags                = TagList
   221    vpc_endpoint_type   = VpcEndpointType
   222  }
   223  
   224  mapping "aws_vpc_endpoint_connection_notification" {
   225    vpc_endpoint_service_id     = String
   226    vpc_endpoint_id             = String
   227    connection_notification_arn = String
   228    connection_events           = ValueStringList
   229  }
   230  
   231  mapping "aws_vpc_endpoint_route_table_association" {
   232    route_table_id  = String
   233    vpc_endpoint_id = String
   234  }
   235  
   236  mapping "aws_vpc_endpoint_service" {
   237    acceptance_required        = Boolean
   238    network_load_balancer_arns = ValueStringList
   239    allowed_principals         = any
   240    tags                       = TagList
   241  }
   242  
   243  mapping "aws_vpc_endpoint_service_allowed_principal" {
   244    vpc_endpoint_service_id = String
   245    principal_arn           = String
   246  }
   247  
   248  mapping "aws_vpc_endpoint_subnet_association" {
   249    vpc_endpoint_id = String
   250    subnet_id       = String
   251  }
   252  
   253  mapping "aws_vpc_ipv4_cidr_block_association" {
   254    cidr_block = String
   255    vpc_id     = String
   256  }
   257  
   258  mapping "aws_vpc_peering_connection" {
   259    peer_owner_id = String
   260    peer_vpc_id   = String
   261    vpc_id        = String
   262    auto_accept   = any
   263    peer_region   = String
   264    accepter      = PeeringConnectionOptionsRequest
   265    requester     = PeeringConnectionOptionsRequest
   266    tags          = TagList
   267  }
   268  
   269  mapping "aws_vpc_peering_connection_accepter" {
   270    vpc_peering_connection_id = String
   271    auto_accept               = any
   272    tags                      = TagList
   273  }
   274  
   275  mapping "aws_vpc_peering_connection_options" {
   276    vpc_peering_connection_id = String
   277    accepter                  = PeeringConnectionOptionsRequest
   278    requester                 = PeeringConnectionOptionsRequest
   279  }
   280  
   281  mapping "aws_vpn_connection" {
   282    customer_gateway_id   = String
   283    type                  = String
   284    transit_gateway_id    = String
   285    vpn_gateway_id        = String
   286    static_routes_only    = any
   287    tags                  = TagList
   288    tunnel1_inside_cidr   = any
   289    tunnel2_inside_cidr   = any
   290    tunnel1_preshared_key = any
   291    tunnel2_preshared_key = any
   292  }
   293  
   294  mapping "aws_vpn_connection_route" {
   295    destination_cidr_block = String
   296    vpn_connection_id      = String
   297  }
   298  
   299  mapping "aws_vpn_gateway" {
   300    vpc_id            = String
   301    availability_zone = String
   302    tags              = TagList
   303    amazon_side_asn   = Long
   304  }
   305  
   306  mapping "aws_vpn_gateway_attachment" {
   307    vpc_id         = String
   308    vpn_gateway_id = String
   309  }
   310  
   311  mapping "aws_vpn_gateway_route_propagation" {
   312    vpn_gateway_id = String
   313    route_table_id = String
   314  }