github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/aws/r/customer_gateway.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_customer_gateway"
     4  sidebar_current: "docs-aws-resource-customer-gateway"
     5  description: |-
     6    Provides a customer gateway inside a VPC. These objects can be
     7    connected to VPN gateways via VPN connections, and allow you to
     8    establish tunnels between your network and the VPC.
     9  ---
    10  
    11  # aws\_customer\_gateway
    12  
    13  Provides a customer gateway inside a VPC. These objects can be connected to VPN gateways via VPN connections, and allow you to establish tunnels between your network and the VPC.
    14  
    15  ## Example Usage
    16  
    17  ```
    18  resource "aws_customer_gateway" "main" {
    19      bgp_asn = 60000
    20      ip_address = "172.83.124.10"
    21      type = ipsec.1
    22      tags {
    23          Name = "main-customer-gateway"
    24      }
    25  }
    26  ```
    27  
    28  ## Argument Reference
    29  
    30  The following arguments are supported:
    31  
    32  * `bgp_asn` - (Required) The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
    33  * `ip_address` - (Required) The IP address of the gateway's Internet-routable external interface.
    34  * `type` - (Required) The type of customer gateway. The only type AWS
    35    supports at this time is "ipsec.1".
    36  * `tags` - (Optional) Tags to apply to the gateway.
    37  
    38  ## Attribute Reference
    39  
    40  The following attributes are exported:
    41  
    42  * `id` - The amazon-assigned ID of the gateway.
    43  * `bgp_asn` - The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
    44  * `ip_address` - The IP address of the gateway's Internet-routable external interface.
    45  * `type` - The type of customer gateway.
    46  * `tags` - Tags applied to the gateway.