Перейти к основному содержимому
selectel_dbaas_flavor_v1
Последнее изменение:

selectel_dbaas_flavor_v1

к сведению

Эта инструкция — копия документации Selectel Terraform-провайдера в 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) Line of flavors. 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, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL semi-sync, MySQL sync, Redis, and Kafka.

    • 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 vCPUs.

    • ram - Amount of RAM in MB.

    • disk - Volume size in GB.

    • fl_size - Line of flavors.

    • datastore_type_ids - List of datastore types that support this flavor.