terraform/internal/command/jsonplan
Kristin Laemmert 70e074b8aa chore (actions): rename LifecycleActionTrigger -> ResourceActionTrigger in plan and proto
We'd previously removed all other references to "lifecycle" actions, which made this reference stand out. ResourceLifecycleActionTrigger is probably the most accurate name, but as this type just needs to be differentiated from InvokeActionTrigger I thought "resource" was enough (and I specifically wanted= to avoid lifecycle at all). I'm not super attached to the name, but I did think it would be clearer if we avoided Lifecycle as much as possible, since that's got some overlap with action subtypes.

In this instance, we call it a LifecycleActionTrigger because it's come from the resource's `lifecycle` block. This doesn't directly relate to the concept of LifecycleActions - even if we expand the design to have multiple action types (for example generic and lifecycle actions), both those actions types would use this same Trigger struct.
2026-02-23 15:17:45 -05: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 make copyrightfix 2026-02-17 13:56:34 +00:00
values_test.go make copyrightfix 2026-02-17 13:56:34 +00:00