selectel_dbaas_flavor_v1
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, and Redis.
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 Cloud Platform project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Cloud Platform 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 vCPU cores.ram
- (Optional) Amount of RAM in MB.disk
- (Optional) Volume size in GB.datastore_type_id
- (Optional) Unique identifier of the datastore type.
Attributes Reference
flavors
- List of available flavors.id
- Unique identifier of the flavor.name
- Flavor name.description
- Flavor description.vcpus
- Number of vCPU cores.ram
- Amount of RAM in MB.disk
- Volume size in GB.datastore_type_ids
- List of datastore types that support this flavor.