servercore_global_router_zone_group_v1
Provides a list of zone groups in the Global Router service using public API v1. Zone group is a logical association of zones. A global router can only connect networks of the same zone group. For more information about global routers, see the official Servercore documentation.
Example Usage
data "servercore_global_router_zone_v1" "zone_1" {
name = "ru-3"
service = "vpc"
}
data "servercore_global_router_zone_group_v1" "zone_group_1" {
name = data.servercore_global_router_zone_v1.zone_1.groups[0].name
}
Argument Reference
name- (Required) Zone group name, for example,public_rf. Retrieved from the servercore_global_router_zone_v1 data source of the corresponding zone, or via the List zone groups method in the Global Router API.
Attributes Reference
id- Unique identifier of the zone group.name- Zone group name.description- Optional description for the zone group.created_at- Time when the zone group was created.updated_at- Time when the zone group was updated.