---
title: "Data source selectel_dedicated_location_v1"
sidebar_label: "selectel_dedicated_location_v1"
description: "Provides a list of available locations"
sidebar_position: 10
---

# Data source selectel\_dedicated\_location\_v1

:::info

This instruction is a copy of the Selectel Terraform provider documentation in the [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/product-availability-by-location/#dedicated-servers).

## Usage Example \{#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 [Product availability by location](/infrastructure/product-availability-by-location/#dedicated-servers).

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

## Attributes Reference \{#attributes-reference}

* `locations` — List of available locations:

  * `id` — Unique identifier of the location.

  * `name` — Location name.

  * `description` — Location description.

  * `visibility` — Location visibility.
