'selectel_dbaas_flavor_v1' data source
This instruction is a copy of the Selectel Terraform provider documentation in the Terraform Registry.
Provides a list of flavors available in Managed Databases. For more information about available configurations, see the official Selectel documentation for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL semi-sync, MySQL sync, Redis, and Kafka.
Example Usage
data "selectel_dbaas_flavor_v1" "flavor" {
project_id = selectel_vpc_project_v2.project_1.id
region = "ru-3"
}
Argument Reference
-
project_id– (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about projects. -
region– (Required) Pool where the database is located, for example,ru-3. Learn more about available pools in the Availability matrix. -
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 arestandard(for the Standard, CPU, and Memory lines) andhigh_freq(for the HighFreq line). Learn more about available lines for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL semi-sync, MySQL sync, Redis, and Kafka. -
datastore_type_id– (Optional) Unique identifier of the cluster type.
-
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.
-