alicloud_cen_transit_router_cidr

Provides a Cloud Enterprise Network (CEN) Transit Router Cidr resource.

For information about Cloud Enterprise Network (CEN) Transit Router Cidr and how to use it, see What is Transit Router Cidr.

Example Usage

Basic Usage

resource "alicloud_cen_instance" "example" {
  cen_instance_name = "tf_example"
  description       = "an example for cen"
}

resource "alicloud_cen_transit_router" "example" {
  transit_router_name = "tf_example"
  cen_id              = alicloud_cen_instance.example.id
}

resource "alicloud_cen_transit_router_cidr" "example" {
  transit_router_id        = alicloud_cen_transit_router.example.transit_router_id
  cidr                     = "192.168.0.0/16"
  transit_router_cidr_name = "tf_example"
  description              = "tf_example"
  publish_cidr_route       = true
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

Cloud Enterprise Network (CEN) Transit Router Cidr can be imported using the id, e.g.

$ terraform import alicloud_cen_transit_router_cidr.default <transit_router_id>:<transit_router_cidr_id>.