github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/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    vpn_gateway_id                      = AssociatedGatewayId
    33    associated_gateway_owner_account_id = OwnerAccount
    34    proposal_id                         = DirectConnectGatewayAssociationProposalId
    35    allowed_prefixes                    = RouteFilterPrefixList
    36  }
    37  
    38  mapping "aws_dx_gateway_association_proposal" {
    39    dx_gateway_id               = DirectConnectGatewayId
    40    dx_gateway_owner_account_id = OwnerAccount
    41    associated_gateway_id       = AssociatedGatewayId
    42    vpn_gateway_id              = AssociatedGatewayId
    43    allowed_prefixes            = RouteFilterPrefixList
    44  }
    45  
    46  mapping "aws_dx_hosted_private_virtual_interface" {
    47    address_family   = AddressFamily
    48    bgp_asn          = ASN
    49    connection_id    = ConnectionId
    50    name             = VirtualInterfaceName
    51    owner_account_id = OwnerAccount
    52    vlan             = VLAN
    53    amazon_address   = AmazonAddress
    54    mtu              = MTU
    55    bgp_auth_key     = BGPAuthKey
    56    customer_address = CustomerAddress
    57  }
    58  
    59  mapping "aws_dx_hosted_private_virtual_interface_accepter" {
    60    virtual_interface_id = VirtualInterfaceId
    61    dx_gateway_id        = DirectConnectGatewayId
    62    tags                 = TagList
    63    vpn_gateway_id       = AssociatedGatewayId
    64  }
    65  
    66  mapping "aws_dx_hosted_public_virtual_interface" {
    67    address_family        = AddressFamily
    68    bgp_asn               = ASN
    69    connection_id         = ConnectionId
    70    name                  = VirtualInterfaceName
    71    owner_account_id      = OwnerAccount
    72    route_filter_prefixes = RouteFilterPrefixList
    73    vlan                  = VLAN
    74    amazon_address        = AmazonAddress
    75    bgp_auth_key          = BGPAuthKey
    76    customer_address      = CustomerAddress
    77  }
    78  
    79  mapping "aws_dx_hosted_public_virtual_interface_accepter" {
    80    virtual_interface_id = VirtualInterfaceId
    81    tags                 = TagList
    82  }
    83  
    84  mapping "aws_dx_lag" {
    85    name                  = LagName
    86    connections_bandwidth = Bandwidth
    87    location              = LocationCode
    88    tags                  = TagList
    89  }
    90  
    91  mapping "aws_dx_private_virtual_interface" {
    92    address_family   = AddressFamily
    93    bgp_asn          = ASN
    94    connection_id    = ConnectionId
    95    name             = VirtualInterfaceName
    96    vlan             = VLAN
    97    amazon_address   = AmazonAddress
    98    mtu              = MTU
    99    bgp_auth_key     = BGPAuthKey
   100    customer_address = CustomerAddress
   101    dx_gateway_id    = DirectConnectGatewayId
   102    tags             = TagList
   103    vpn_gateway_id   = AssociatedGatewayId
   104  }
   105  
   106  mapping "aws_dx_public_virtual_interface" {
   107    address_family        = AddressFamily
   108    bgp_asn               = ASN
   109    connection_id         = ConnectionId
   110    name                  = VirtualInterfaceName
   111    vlan                  = VLAN
   112    amazon_address        = AmazonAddress
   113    bgp_auth_key          = BGPAuthKey
   114    customer_address      = CustomerAddress
   115    route_filter_prefixes = RouteFilterPrefixList
   116    tags                  = TagList
   117  }
   118  
   119  mapping "aws_dx_transit_virtual_interface" {
   120    id                  = any
   121    arn                 = any
   122    aws_device          = AwsDevice
   123    jumbo_frame_capable = JumboFrameCapable
   124  }
   125  
   126  test "aws_dx_bgp_peer" "address_family" {
   127    ok = "ipv4"
   128    ng = "ipv2"
   129  }