---
title: 'Источник данных selectel_dedicated_configuration_v1'
sidebar_label: "selectel_dedicated_configuration_v1"
description: 'Provides a list of server configurations available in Selectel'
sidebar_position: 9
---

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

:::info

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

:::

Provides a list of server configurations available.
For more information about server configurations, see the [official Selectel documentation](/dedicated/order/dedicated-configurations/).

## Example Usage \{#example-usage}

### Search configuration ID by name \{#search-configuration-id-by-name}

```hcl
data "selectel_dedicated_configuration_v1" "server_config_1" {
  project_id  = selectel_vpc_project_v2.project_1.id
  deep_filter = "{\"name\":\"CL25-NVMe\"}"
}
```

### Search available configurations with additional parameters \{#search-available-configurations-with-additional-parameters}

```hcl
data "selectel_dedicated_configuration_v1" "server_config_1" {
  project_id  = selectel_vpc_project_v2.project_1.id
  deep_filter = <<EOT
    {
        "gpu": {
           "count": 1
        },
        "state": "Active",
    }
  EOT
}
```

### Search available configurations with additional parameters from file \{#search-available-configurations-with-additional-parameters-from-file}

```hcl
data "selectel_dedicated_configuration_v1" "server_config_1" {
  project_id  = selectel_vpc_project_v2.project_1.id
  deep_filter = file("filter.json")
}
```

### Search available configurations using filter block \{#search-available-configurations-using-filter-block}

```hcl
data "selectel_dedicated_configuration_v1" "server_config_1" {
  project_id = selectel_vpc_project_v2.project_1.id
  filter {
    name        = "CL25-NVMe"
    location_id = data.selectel_dedicated_location_v1.server_location.locations[0].id
  }
}
```

## 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/).

* `deep_filter` — (Optional) JSON filter for available configuration:

  * You can use only the name of the configuration to get the results.
    To get the name of the configuration, in the [Selectel site](https://selectel.ru/en/services/dedicated/).

  * You can use [additional parameters](#search-available-configurations-with-additional-parameters) or their combinations to filter available configurations.
    You can set them in place or use another [file](#search-available-configurations-with-additional-parameters-from-file).
    See a list of the filter values in the response of the [List servers](/api/dedicated/#tag/Services/operation/listServers) method described in the [Dedicated Servers API](/api/dedicated/).

`filter` — (Optional) Values to filter available configurations:

* `name` — (Optional) Configuration name.
  Supports partial match, case-insensitive.

* `location_id` — (Optional) Unique identifier of a location.

## Attributes Reference \{#attributes-reference}

* `configurations` — List of the available configurations:

  * `id` — Unique identifier of the configuration.

  * `name` — Configuration name.

  * `config_name` — Configuration description.
