awscc_ec2_customer_gateway (Resource)

Specifies a customer gateway.

Example Usage

Basic

resource "awscc_ec2_customer_gateway" "example" {
  bgp_asn    = 65000
  ip_address = "12.1.2.3"
  type       = "ipsec.1"

  tags = [{
    key   = "Modified By"
    value = "AWSCC"
  }]
}

With device name

resource "awscc_ec2_customer_gateway" "example" {
  bgp_asn     = 65000
  ip_address  = "12.1.2.3"
  type        = "ipsec.1"
  device_name = "example"
}

Schema

Required

Optional

Read-Only

Nested Schema for tags

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_ec2_customer_gateway.example <resource ID>