alicloud_cloud_connect_network

Provides a cloud connect network resource. Cloud Connect Network (CCN) is another important component of Smart Access Gateway. It is a device access matrix composed of Alibaba Cloud distributed access gateways. You can add multiple Smart Access Gateway (SAG) devices to a CCN instance and then attach the CCN instance to a Cloud Enterprise Network (CEN) instance to connect the local branches to the Alibaba Cloud.

For information about cloud connect network and how to use it, see What is Cloud Connect Network.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}
provider "alicloud" {
  region = "cn-shanghai"
}
resource "alicloud_cloud_connect_network" "default" {
  name        = var.name
  description = var.name
  cidr_block  = "192.168.0.0/24"
  is_default  = true
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

The cloud connect network instance can be imported using the id, e.g.

$ terraform import alicloud_cloud_connect_network.example ccn-abc123456