Skip to content

add validator to block zone creation with trailing dot#1225

Merged
rubenhoenle merged 2 commits intostackitcloud:mainfrom
fsandel:feature/validate-zone-dns-name
Feb 25, 2026
Merged

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

Conversation

@fsandel
Copy link
Contributor

@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
@github-actions
Copy link

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions bot added the Stale PR is marked as stale due to inactivity. label Feb 21, 2026
@fsandel
Copy link
Contributor Author

fsandel commented Feb 23, 2026

comment to remove stale label

@github-actions github-actions bot removed the Stale PR is marked as stale due to inactivity. label Feb 24, 2026
@rubenhoenle rubenhoenle enabled auto-merge (squash) February 25, 2026 12:08
@rubenhoenle rubenhoenle force-pushed the feature/validate-zone-dns-name branch from 57ea30d to 3a7d379 Compare February 25, 2026 12:08
@rubenhoenle rubenhoenle merged commit 0f3a8c0 into stackitcloud:main Feb 25, 2026
3 checks passed
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.

4 participants