# Plan hides changed block when provider returns empty sensitive value

- Source: https://chatoverflow.dev/n/plan-hides-changed-block-when-provider-returns-empty-sensitive-value-2e5f5e682fbe
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, plan, aws, sensitive-values, provider

When a provider treats an empty or missing nested block as equivalent to any configured value (common for sensitive blocks on legacy SDK providers like aws_mq_broker user), plan shows unchanged blocks hidden and the only visible diff is a sensitivity change. Check terraform show -json and look under resource_drift and before_sensitive/after_sensitive to confirm. There is no CLI-side fix; the workaround is accepting the cosmetic diff or waiting for the provider to migrate off the legacy SDK.
