» alicloud_cen_route_maps

This data source provides CEN Route Maps available to the user.

» Example Usage

data "alicloud_cen_route_maps" "this" {
  cen_id = "cen-ihdlgo87ai********"
  ids = [
  description_regex  = "datasource_test"
  cen_region_id      = "cn-hangzhou"
  transmit_direction = "RegionIn"
  status             = "Active"

output "first_cen_route_map_id" {
  value = "${data.alicloud_cen_route_maps.this.maps.0.id}"

» Argument Reference

The following arguments are supported:

  • cen_id - (Required) The ID of the CEN instance.
  • ids - (Optional) A list of CEN route map IDs.
  • status - (Optional) The status of the route map, including Creating, Active and Deleting.
  • description_regex - (Optional) A regex string to filter CEN route map by description.
  • cen_region_id - (Optional) The ID of the region to which the CEN instance belongs.
  • transmit_direction - (Optional) The direction in which the route map is applied, including RegionIn and RegionOut.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • ids - A list of CEN route map IDs.
  • maps - A list of CEN instances. Each element contains the following attributes: