This data source provides an available area for remote disaster recovery for RDS.
# Declare the data source
data "alicloud_rds_cross_regions" "cross_regions" {}
output "first_rds_cross_regions" {
value = data.alicloud_rds_cross_regions.regions.ids.0
}
The following attributes are exported in addition to the arguments listed above:
ids
- A list of region IDs.regions
- The list of destination regions that support cross-region backup. Each element contains the following attributes:
id
- ID of the region.