alicloud_vpn_customer_gateway

Provides a VPN customer gateway resource.

For information about VPN customer gateway and how to use it, see What is VPN customer gateway.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "ap-southeast-1"
}

resource "alicloud_vpn_customer_gateway" "default" {
  description           = var.name
  ip_address            = "4.3.2.10"
  asn                   = "1219002"
  customer_gateway_name = var.name
}

Argument Reference

The following arguments are supported:

The following arguments will be discarded. Please use new fields as soon as possible:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

VPN customer gateway can be imported using the id, e.g.

$ terraform import alicloud_vpn_customer_gateway.example <id>