» alicloud_cen_instance

Provides a CEN instance resource. Cloud Enterprise Network (CEN) is a service that allows you to create a global network for rapidly building a distributed business system with a hybrid cloud computing solution. CEN enables you to build a secure, private, and enterprise-class interconnected network between VPCs in different regions and your local data centers. CEN provides enterprise-class scalability that automatically responds to your dynamic computing requirements.

For information about CEN and how to use it, see What is Cloud Enterprise Network.

» Example Usage

Basic Usage

resource "alicloud_cen_instance" "cen" {
  name        = "tf_test_foo"
  description = "an example for cen"

» Argument Reference

The following arguments are supported:

  • name - (Optional) The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.
  • description - (Optional) The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
  • tags - (Optional, Available in v1.80.0+) A mapping of tags to assign to the resource.

» Timeouts

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

  • create - (Defaults to 6 mins) Used when creating the cen instance (until it reaches the initial Active status).
  • delete - (Defaults to 6 mins) Used when terminating the cen instance.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the CEN instance.
  • protection_level - (Available in 1.76.0+) Indicates the allowed level of CIDR block overlapping.
  • status - The Cen Instance current status.

» Import

CEN instance can be imported using the id, e.g.

$ terraform import alicloud_cen_instance.example cen-abc123456