Skip to content

Conversation

@rsharmaInfoblox
Copy link
Collaborator

@rsharmaInfoblox rsharmaInfoblox commented Nov 19, 2025

Added changes to suppress computed fields in plan.

This change introduces a custom UseStateForUnknown plan modifier for all computed-only fields. The modifier currently works based on a global flag (later we can move this into a unified provider-level config structure).
By default, the flag is disabled, so all computed fields will continue to appear in the plan output. Admins can enable the flag to suppress these values during planning.

Note: At the moment, the plan modifier is applied to all nested fields, even when the parent attribute is already computed. Ideally, we should avoid adding the modifier to nested fields to reduce code bloat. However, skipping it complicates generation for new objects created via Mustache templates. To maintain consistency across objects, the modifier is applied uniformly for now.

@rsharmaInfoblox rsharmaInfoblox changed the title Added changes to suppress computed fields in plan NPA-1308: Added changes to suppress computed fields in plan Nov 19, 2025
@rsharmaInfoblox rsharmaInfoblox marked this pull request as ready for review November 19, 2025 11:36
@rsharmaInfoblox rsharmaInfoblox added the do not merge Fixes are required. Do not merge. label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Fixes are required. Do not merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant