Skip to content

Conversation

@Agraphie
Copy link
Contributor

Description

This allows the validation to happen on the API side. Currently, the API already allows creation with the "createrole", but the terraform provider doesn't. This is in-line with the change done in fda9622 for sql-server.

relates to #1105

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)

@Agraphie Agraphie marked this pull request as ready for review January 12, 2026 12:24
@Agraphie Agraphie requested a review from a team as a code owner January 12, 2026 12:24
@rubenhoenle rubenhoenle self-assigned this Jan 12, 2026
@rubenhoenle
Copy link
Member

@Agraphie Thanks for the contribution!

Could you please check the failing CI pipeline? There seems to be some linter issue.

@Agraphie
Copy link
Contributor Author

@rubenhoenle thanks for checking. I forgot to run the linting locally, my bad. Linter approved now locally.

This allows the validation to happen on the API side. Currently, the API already allows creation with the "createrole", but the terraform provider doesn't. This is in-line with the change done in fda9622 for sql-server.
@marceljk marceljk force-pushed the feature/pg-flex-api-role-validation branch from e49fc59 to 5e01a26 Compare January 13, 2026 09:43
@marceljk marceljk enabled auto-merge (squash) January 13, 2026 09:44
@marceljk marceljk merged commit b16cfc4 into stackitcloud:main Jan 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants