Skip to content

Fix unknown before apply warnings for namespace endpoints#392

Open
bechols wants to merge 1 commit intomainfrom
issue-357-fix-endpoints-unknown
Open

Fix unknown before apply warnings for namespace endpoints#392
bechols wants to merge 1 commit intomainfrom
issue-357-fix-endpoints-unknown

Conversation

@bechols
Copy link
Copy Markdown
Contributor

@bechols bechols commented Jan 30, 2026

Summary

  • Add UseStateForUnknown() plan modifiers to namespace endpoint attributes
  • Prevents confusing "known after apply" warnings when updating unrelated fields like retention

Fixes #357

Test plan

  • Added TestAccNamespaceEndpointsStableOnUpdate acceptance test
  • Test creates namespace, updates retention, verifies endpoints remain stable
  • All existing tests pass

🤖 Generated with Claude Code

Add UseStateForUnknown() plan modifiers to the endpoints nested attributes
(grpc_address, mtls_grpc_address, web_address) so Terraform preserves their
known values during updates instead of marking them as 'known after apply'.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bechols bechols requested a review from a team as a code owner January 30, 2026 19:54
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.

Fix unknown before apply warnings for namespace endpoints

1 participant