Skip to content

Commit 1ff834e

Browse files
committed
use the expression in the trigger, not the node
1 parent f1658b2 commit 1ff834e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/terraform/node_action_trigger_plan.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717

1818
type nodeActionTriggerPlanExpand struct {
1919
Addr addrs.ConfigAction
20-
ActionExpr hcl.Expression
2120
resolvedProvider addrs.AbsProviderConfig
2221
Config *configs.Action
2322

@@ -65,7 +64,6 @@ func (n *nodeActionTriggerPlanExpand) DynamicExpand(ctx EvalContext) (*Graph, tf
6564
expander := ctx.InstanceExpander()
6665
// First we expand the module
6766
moduleInstances := expander.ExpandModule(n.lifecycleActionTrigger.resourceAddress.Module, false)
68-
6967
for _, module := range moduleInstances {
7068
_, keys, _ := expander.ResourceInstanceKeys(n.lifecycleActionTrigger.resourceAddress.Absolute(module))
7169
for _, key := range keys {

0 commit comments

Comments
 (0)