---
title: 'Источник данных selectel_dedicated_location_v1'
sidebar_label: "selectel_dedicated_location_v1"
description: 'Provides a list of available locations'
sidebar_position: 10
---

# Источник данных selectel\_dedicated\_location\_v1

:::info

Эта инструкция — копия документации Selectel Terraform-провайдера в [Terraform Registry](https://registry.terraform.io/providers/selectel/selectel/latest/docs).

:::

Provides a list of available locations.
For more information about locations, see the [official Selectel documentation](/infrastructure/availability-matrix/#dedicated-servers).

## Example Usage \{#example-usage}

```hcl
data "selectel_dedicated_location_v1" "server_location_1" {
  project_id = selectel_vpc_project_v2.project_1.id
  filter {
    name     = "SPB-2"
  }
}
```

## Argument Reference \{#argument-reference}

* `project_id` — (Required) Unique identifier of the associated project.
  Retrieved from the [selectel\_vpc\_project\_v2](/terraform/selectel-provider-reference/resources/vpc_project_v2) resource.
  Learn more about [Projects](/access-control/projects/about-projects/).

* `filter` — (Optional) Values to filter available locations.
  Learn more about available pools in the [Availability matrix](/infrastructure/availability-matrix/#dedicated-servers).

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

## Attributes Reference \{#attributes-reference}

* `locations` — List of the available locations:

  * `id` — Unique identifier of the location.

  * `name` — Location name.

  * `description` — Location description.

  * `visibility` — Location visibility.
