diff --git a/internal/plans/changes_src.go b/internal/plans/changes_src.go index 37acd2dd36..426b062f43 100644 --- a/internal/plans/changes_src.go +++ b/internal/plans/changes_src.go @@ -617,8 +617,6 @@ func (acs *ActionInvocationInstanceSrc) Less(other *ActionInvocationInstanceSrc) return acs.ActionTrigger.Less(other.ActionTrigger) } -// TODO: Do we still need this? - // FilterLaterActionInvocations returns the list of action invocations that // should be triggered after this one. This function assumes the supplied list // of action invocations has already been filtered to invocations against the diff --git a/internal/terraform/node_action_trigger_abstract.go b/internal/terraform/node_action_trigger_abstract.go index 40cf0e6d59..60aceb955e 100644 --- a/internal/terraform/node_action_trigger_abstract.go +++ b/internal/terraform/node_action_trigger_abstract.go @@ -48,7 +48,9 @@ func (at *lifecycleActionTrigger) Name() string { } var ( - _ GraphNodeReferencer = (*nodeAbstractActionTriggerExpand)(nil) + _ GraphNodeReferencer = (*nodeAbstractActionTriggerExpand)(nil) + _ GraphNodeProviderConsumer = (*nodeAbstractActionTriggerExpand)(nil) + _ GraphNodeModulePath = (*nodeAbstractActionTriggerExpand)(nil) ) func (n *nodeAbstractActionTriggerExpand) Name() string { diff --git a/internal/terraform/node_action_trigger_apply.go b/internal/terraform/node_action_trigger_apply.go index 7c61bb0254..124de5768a 100644 --- a/internal/terraform/node_action_trigger_apply.go +++ b/internal/terraform/node_action_trigger_apply.go @@ -23,6 +23,8 @@ type nodeActionTriggerApplyExpand struct { var ( _ GraphNodeDynamicExpandable = (*nodeActionTriggerApplyExpand)(nil) _ GraphNodeReferencer = (*nodeActionTriggerApplyExpand)(nil) + _ GraphNodeProviderConsumer = (*nodeActionTriggerApplyExpand)(nil) + _ GraphNodeModulePath = (*nodeActionTriggerApplyExpand)(nil) ) func (n *nodeActionTriggerApplyExpand) Name() string { diff --git a/internal/terraform/node_action_trigger_instance_apply.go b/internal/terraform/node_action_trigger_instance_apply.go index 4c58d3fc88..eb631ee4c8 100644 --- a/internal/terraform/node_action_trigger_instance_apply.go +++ b/internal/terraform/node_action_trigger_instance_apply.go @@ -26,8 +26,10 @@ type nodeActionTriggerApplyInstance struct { } var ( - _ GraphNodeExecutable = (*nodeActionTriggerApplyInstance)(nil) - _ GraphNodeReferencer = (*nodeActionTriggerApplyInstance)(nil) + _ GraphNodeExecutable = (*nodeActionTriggerApplyInstance)(nil) + _ GraphNodeReferencer = (*nodeActionTriggerApplyInstance)(nil) + _ GraphNodeProviderConsumer = (*nodeActionTriggerApplyInstance)(nil) + _ GraphNodeModulePath = (*nodeActionTriggerApplyInstance)(nil) ) func (n *nodeActionTriggerApplyInstance) Name() string { diff --git a/internal/terraform/node_action_trigger_instance_plan.go b/internal/terraform/node_action_trigger_instance_plan.go index 68cf1f913a..a32b71f04f 100644 --- a/internal/terraform/node_action_trigger_instance_plan.go +++ b/internal/terraform/node_action_trigger_instance_plan.go @@ -20,6 +20,11 @@ import ( "github.com/hashicorp/terraform/internal/tfdiags" ) +var ( + _ GraphNodeExecutable = (*nodeActionTriggerPlanInstance)(nil) + _ GraphNodeModulePath = (*nodeActionTriggerPlanInstance)(nil) +) + type nodeActionTriggerPlanInstance struct { actionAddress addrs.AbsActionInstance resolvedProvider addrs.AbsProviderConfig diff --git a/internal/terraform/node_action_trigger_plan.go b/internal/terraform/node_action_trigger_plan.go index 2f0b804bac..9a8b34d1f8 100644 --- a/internal/terraform/node_action_trigger_plan.go +++ b/internal/terraform/node_action_trigger_plan.go @@ -20,6 +20,8 @@ type nodeActionTriggerPlanExpand struct { var ( _ GraphNodeDynamicExpandable = (*nodeActionTriggerPlanExpand)(nil) _ GraphNodeReferencer = (*nodeActionTriggerPlanExpand)(nil) + _ GraphNodeProviderConsumer = (*nodeActionTriggerPlanExpand)(nil) + _ GraphNodeModulePath = (*nodeActionTriggerPlanExpand)(nil) ) func (n *nodeActionTriggerPlanExpand) Name() string {