terraform-provider-stackitp.../docs/data-sources/postgresflexalpha_flavor.md
Marcel S. Henselin 581e45eb9c
Some checks failed
Publish / Check GoReleaser config (push) Successful in 5s
Publish / Publish provider (push) Failing after 4m6s
feat: SQL server beta and templates refactoring (#32)
## Description

<!-- **Please link some issue here describing what you are trying to achieve.**

In case there is no issue present for your PR, please consider creating one.
At least please give us some description what you are trying to achieve and why your change is needed. -->

relates to #1234

## Checklist

- [ ] Issue was linked above
- [ ] Code format was applied: `make fmt`
- [ ] Examples were added / adjusted (see `examples/` directory)
- [x] Docs are up-to-date: `make generate-docs` (will be checked by CI)
- [ ] Unit tests got implemented or updated
- [ ] Acceptance tests got implemented or updated (see e.g. [here](f5f99d1709/stackit/internal/services/dns/dns_acc_test.go))
- [x] Unit tests are passing: `make test` (will be checked by CI)
- [x] No linter issues: `make lint` (will be checked by CI)

Reviewed-on: #32
Reviewed-by: Andre_Harms <andre.harms@stackit.cloud>
Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
Co-committed-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
2026-02-05 09:55:32 +00:00

1.5 KiB

page_title subcategory description
stackitprivatepreview_postgresflexalpha_flavor Data Source - stackitprivatepreview

stackitprivatepreview_postgresflexalpha_flavor (Data Source)

Example Usage

data "stackitprivatepreview_postgresflexalpha_flavor" "flavor" {
  project_id    = var.project_id
  region        = var.region
  cpu           = 4
  ram           = 16
  node_type     = "Single"
  storage_class = "premium-perf2-stackit"
}

Schema

Required

  • cpu (Number) The cpu count of the instance.
  • node_type (String) defines the nodeType it can be either single or replica
  • project_id (String) The cpu count of the instance.
  • ram (Number) The memory of the instance in Gibibyte.
  • region (String) The flavor description.
  • storage_class (String) The memory of the instance in Gibibyte.

Read-Only

  • description (String) The flavor description.
  • flavor_id (String) The flavor id of the instance flavor.
  • id (String) The terraform id of the instance flavor.
  • max_gb (Number) maximum storage which can be ordered for the flavor in Gigabyte.
  • min_gb (Number) minimum storage which is required to order in Gigabyte.
  • storage_classes (Attributes List) (see below for nested schema)

Nested Schema for storage_classes

Read-Only:

  • class (String)
  • max_io_per_sec (Number)
  • max_through_in_mb (Number)