terraform/internal/command/jsonplan
Valentino fb8d253b97
fix: Filter out forget resources in jsonplan planned_values (#38665)
When rendering a plan file in JSON format we filter out both deleted and 'forgotten' resources when creating the `planned_values` section of the JSON; there is no value to be planned in those scenarios. Prior to this commit forgotten resources (i.e. removed via a `removed` block with `lifecycle { destroy = false }`) were erroneously still included in the planned values.
2026-06-04 15:28:24 +01:00
..
action_invocations.go chore (actions): rename LifecycleActionTrigger -> ResourceActionTrigger in plan and proto 2026-02-23 15:17:45 -05:00
action_invocations_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
doc.go make copyrightfix 2026-02-17 13:56:34 +00:00
module.go make copyrightfix 2026-02-17 13:56:34 +00:00
plan.go make copyrightfix 2026-02-17 13:56:34 +00:00
plan_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
resource.go make copyrightfix 2026-02-17 13:56:34 +00:00
values.go fix: Filter out forget resources in jsonplan planned_values (#38665) 2026-06-04 15:28:24 +01:00
values_test.go fix: Filter out forget resources in jsonplan planned_values (#38665) 2026-06-04 15:28:24 +01:00