---
title: "'selectel_dbaas_flavor_v1' data source"
sidebar_label: "selectel_dbaas_flavor_v1"
description: "Provides a list of flavors available in Selectel Managed Databases"
sidebar_position: 6
---

# 'selectel\_dbaas\_flavor\_v1' data source

:::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 flavors available in Managed Databases. For more information about available configurations, see the official Selectel documentation for [PostgreSQL](/managed-databases/postgresql/configurations/), [PostgreSQL for 1C](/managed-databases/postgresql-for-1c/configurations/), [PostgreSQL TimescaleDB](/managed-databases/timescaledb/configurations/), [MySQL semi-sync](/managed-databases/mysql-semi-sync/configurations/), [MySQL sync](/managed-databases/mysql-sync/configurations/), [Redis](/managed-databases/redis/configurations/), and [Kafka](/managed-databases/kafka/configurations/).

## Example Usage \{#example-usage}

```hcl
data "selectel_dbaas_flavor_v1" "flavor" {
  project_id = selectel_vpc_project_v2.project_1.id
  region     = "ru-3"
}
```

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

* `region` - (Required) Pool where the database is located, for example, `ru-3`. Learn more about available pools in [Product availability by location](/infrastructure/product-availability-by-location/#managed-databases).

* `filter` – (Optional) Values to filter available flavors:

  * `vcpus` – (Optional) Number of vCPUs.

  * `ram` – (Optional) Amount of RAM in MB.

  * `disk` – (Optional) Volume size in GB.

  * `fl_size` – (Optional) Flavor line. Available values are `standard` (for the Standard, CPU, and Memory lines) and `high_freq` (for the HighFreq line). Learn more about available lines for [PostgreSQL](/managed-databases/postgresql/configurations/), [PostgreSQL for 1C](/managed-databases/postgresql-for-1c/configurations/), [PostgreSQL TimescaleDB](/managed-databases/timescaledb/configurations/), [MySQL semi-sync](/managed-databases/mysql-semi-sync/configurations/), [MySQL sync](/managed-databases/mysql-sync/configurations/), [Redis](/managed-databases/redis/configurations/), and [Kafka](/managed-databases/kafka/configurations/).

  * `datastore_type_id` – (Optional) Unique identifier of the cluster type.

## Attributes Reference \{#attributes-reference}

* `flavors` – List of available flavors.

  * `id` – Unique identifier of the flavor.

  * `name` – Flavor name.

  * `description` – Flavor description.

  * `vcpus` – Number of vCPUs.

  * `ram` – Amount of RAM in MB.

  * `disk` – Volume size in GB.

  * `fl_size` – Flavor line.

  * `datastore_type_ids` – List of cluster types that support this flavor.
