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

     1  import = "aws-sdk-go/models/apis/directconnect/2012-10-25/api-2.json"
     2  
     3  mapping "aws_dx_bgp_peer" {
     4    address_family       = AddressFamily
     5    bgp_asn              = ASN
     6    virtual_interface_id = VirtualInterfaceId
     7    amazon_address       = AmazonAddress
     8    bgp_auth_key         = BGPAuthKey
     9    customer_address     = CustomerAddress
    10  }
    11  
    12  mapping "aws_dx_connection" {
    13    name      = ConnectionName
    14    bandwidth = Bandwidth
    15    location  = LocationCode
    16    tags      = TagList
    17  }
    18  
    19  mapping "aws_dx_connection_association" {
    20    connection_id = ConnectionId
    21    lag_id        = LagId
    22  }
    23  
    24  mapping "aws_dx_gateway" {
    25    name            = DirectConnectGatewayName
    26    amazon_side_asn = LongAsn
    27  }
    28  
    29  mapping "aws_dx_gateway_association" {
    30    dx_gateway_id                       = DirectConnectGatewayId
    31    associated_gateway_id               = AssociatedGatewayId
    32    associated_gateway_owner_account_id = OwnerAccount
    33    proposal_id                         = DirectConnectGatewayAssociationProposalId
    34    allowed_prefixes                    = RouteFilterPrefixList
    35  }
    36  
    37  mapping "aws_dx_gateway_association_proposal" {
    38    dx_gateway_id               = DirectConnectGatewayId
    39    dx_gateway_owner_account_id = OwnerAccount
    40    associated_gateway_id       = AssociatedGatewayId
    41    allowed_prefixes            = RouteFilterPrefixList
    42  }
    43  
    44  mapping "aws_dx_hosted_private_virtual_interface" {
    45    address_family   = AddressFamily
    46    bgp_asn          = ASN
    47    connection_id    = ConnectionId
    48    name             = VirtualInterfaceName
    49    owner_account_id = OwnerAccount
    50    vlan             = VLAN
    51    amazon_address   = AmazonAddress
    52    mtu              = MTU
    53    bgp_auth_key     = BGPAuthKey
    54    customer_address = CustomerAddress
    55  }
    56  
    57  mapping "aws_dx_hosted_private_virtual_interface_accepter" {
    58    virtual_interface_id = VirtualInterfaceId
    59    dx_gateway_id        = DirectConnectGatewayId
    60    tags                 = TagList
    61    vpn_gateway_id       = AssociatedGatewayId
    62  }
    63  
    64  mapping "aws_dx_hosted_public_virtual_interface" {
    65    address_family        = AddressFamily
    66    bgp_asn               = ASN
    67    connection_id         = ConnectionId
    68    name                  = VirtualInterfaceName
    69    owner_account_id      = OwnerAccount
    70    route_filter_prefixes = RouteFilterPrefixList
    71    vlan                  = VLAN
    72    amazon_address        = AmazonAddress
    73    bgp_auth_key          = BGPAuthKey
    74    customer_address      = CustomerAddress
    75  }
    76  
    77  mapping "aws_dx_hosted_public_virtual_interface_accepter" {
    78    virtual_interface_id = VirtualInterfaceId
    79    tags                 = TagList
    80  }
    81  
    82  mapping "aws_dx_lag" {
    83    name                  = LagName
    84    connections_bandwidth = Bandwidth
    85    location              = LocationCode
    86    tags                  = TagList
    87  }
    88  
    89  mapping "aws_dx_private_virtual_interface" {
    90    address_family   = AddressFamily
    91    bgp_asn          = ASN
    92    connection_id    = ConnectionId
    93    name             = VirtualInterfaceName
    94    vlan             = VLAN
    95    amazon_address   = AmazonAddress
    96    mtu              = MTU
    97    bgp_auth_key     = BGPAuthKey
    98    customer_address = CustomerAddress
    99    dx_gateway_id    = DirectConnectGatewayId
   100    tags             = TagList
   101    vpn_gateway_id   = AssociatedGatewayId
   102  }
   103  
   104  mapping "aws_dx_public_virtual_interface" {
   105    address_family        = AddressFamily
   106    bgp_asn               = ASN
   107    connection_id         = ConnectionId
   108    name                  = VirtualInterfaceName
   109    vlan                  = VLAN
   110    amazon_address        = AmazonAddress
   111    bgp_auth_key          = BGPAuthKey
   112    customer_address      = CustomerAddress
   113    route_filter_prefixes = RouteFilterPrefixList
   114    tags                  = TagList
   115  }
   116  
   117  mapping "aws_dx_transit_virtual_interface" {
   118    id                  = any
   119    arn                 = any
   120    aws_device          = AwsDevice
   121    jumbo_frame_capable = JumboFrameCapable
   122  }
   123  
   124  test "aws_dx_bgp_peer" "address_family" {
   125    ok = "ipv4"
   126    ng = "ipv2"
   127  }