Skip to main content

selectel_dedicated_servers_location_v1

Last update:
For your information

Эта инструкция — копия документации Selectel Terraform-провайдера в Terraform Registry.

Provides a list of available locations. For more information about locations, see the official Selectel documentation.

Example Usage

data "selectel_dedicated_servers_location_v1" "server_location" {
project_id = selectel_vpc_project_v2.project_1.id
filter {
name = "MSK-2"
}
}

Argument Reference

  • project_id — (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Projects.

  • filter — (Optional) Values to filter available locations.

    • name — (Optional) Name of the location to search.

Attributes Reference

  • locations — List of the available locations:

    • id — Unique identifier of the location.

    • name — Location name.

    • description — Location description.

    • visibility — Location visibility.