FEATURES PRICING ABOUT DOCS LOGIN

aws_customer_gateway

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.

Example Usage

resource "aws_customer_gateway" "main" {
    bgp_asn = 65000
    ip_address = "172.83.124.10"
    type = "ipsec.1"
    tags {
        Name = "main-customer-gateway"
    }
}

Argument Reference

The following arguments are supported:

Attribute Reference

The following attributes are exported:

Import

Customer Gateways can be imported using the id, e.g.

$ terraform import aws_customer_gateway.main cgw-b4dc3961

See the source of this document at Terraform.io

REQUEST A DEMO