Skip to content

add validator to block zone creation with trailing dot#1225

Open
fsandel wants to merge 2 commits intostackitcloud:mainfrom
fsandel:feature/validate-zone-dns-name
Open

add validator to block zone creation with trailing dot#1225
fsandel wants to merge 2 commits intostackitcloud:mainfrom
fsandel:feature/validate-zone-dns-name

Conversation

@fsandel
Copy link

@fsandel fsandel commented Feb 13, 2026

Description

The STACKIT DNS API will always return a zone without a trailing dot, even it specified in the create call. SInce this will break the terraform state I added a validator to block creation of those zones. (All zones can still be created, just without the trailing dot)

relates to #1083

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)

@fsandel fsandel requested a review from a team as a code owner February 13, 2026 07:22
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