Skip to content

feat(sqlserverflex): add flavors datasource - #1643

Open
cgoetz-inovex wants to merge 2 commits into
mainfrom
feat/STACKITTPR-747-sqlserver-flavors-ds
Open

feat(sqlserverflex): add flavors datasource#1643
cgoetz-inovex wants to merge 2 commits into
mainfrom
feat/STACKITTPR-747-sqlserver-flavors-ds

Conversation

@cgoetz-inovex

Copy link
Copy Markdown
Contributor

Description

relates to #1234

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • 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)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@cgoetz-inovex
cgoetz-inovex requested a review from a team as a code owner July 31, 2026 15:42
@github-actions

Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/terraform-provider-stackit/stackit 1.17% (ø)
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex 0.00% (ø)
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/flavors 27.12% (+27.12%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/flavors/datasource.go 27.12% (+27.12%) 59 (+59) 16 (+16) 43 (+43) 🌟
github.com/stackitcloud/terraform-provider-stackit/stackit/provider.go 1.17% (ø) 171 2 169

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/flavors/datasource_test.go
  • github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/sqlserverflex/sqlserverflex_acc_test.go

- `memory` (Number) The memory (Gibibyte) of the instance.
- `min_gb` (Number) Minimum storage, which is required to order in Gigabyte.
- `node_type` (String) Defines the node type (either single or HA).
- `storage_classes` (Attributes List) ⚠️TODO, also nested attr descriptions are freestyled (see [below for nested schema](#nestedatt--flavors--storage_classes))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting her for response from the service team for a better description, will fix before merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant