» 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

resource "alicloud_cloud_connect_network" "default" {
  name        = "tf-testAccCloudConnectNetworkName"
  description = "tf-testAccCloudConnectNetworkDescription"
  cidr_block  = ""
  is_default  = true

» Argument Reference

The following arguments are supported:

  • name - (Optional) The name of the CCN instance. The name can contain 2 to 128 characters including a-z, A-Z, 0-9, periods, underlines, and hyphens. The name must start with an English letter, but cannot start with http:// or https://.
  • description - (Optional) The description of the CCN instance. The description can contain 2 to 256 characters. The description must start with English letters, but cannot start with http:// or https://.
  • cidr_block - (Optional) The CidrBlock of the CCN instance. Defaults to null.
  • is_default - (Required) Created by default. If the client does not have ccn in the binding, it will create a ccn for the user to replace.

» Attributes Reference

The following attributes are exported:

  • id - The CcnId of the CCN instance. For example "ccn-xxx".

» Import

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

$ terraform import alicloud_cloud_connect_network.example ccn-abc123456