@@ -578,7 +578,7 @@ func writeTfplan(plan *plans.Plan, w io.Writer) error {
578578 ResourceChanges : []* planproto.ResourceInstanceChange {},
579579 ResourceDrift : []* planproto.ResourceInstanceChange {},
580580 DeferredChanges : []* planproto.DeferredResourceInstanceChange {},
581- ActionInvocations : []* planproto.ActionInvocation {},
581+ ActionInvocations : []* planproto.ActionInvocationInstance {},
582582 }
583583
584584 rawPlan .Applyable = plan .Applyable
@@ -1245,7 +1245,7 @@ func CheckResultsToPlanProto(checkResults *states.CheckResults) ([]*planproto.Ch
12451245 }
12461246}
12471247
1248- func actionInvocationFromTfplan (rawAction * planproto.ActionInvocation ) (* plans.ActionInvocationInstanceSrc , error ) {
1248+ func actionInvocationFromTfplan (rawAction * planproto.ActionInvocationInstance ) (* plans.ActionInvocationInstanceSrc , error ) {
12491249 if rawAction == nil {
12501250 // Should never happen in practice, since protobuf can't represent
12511251 // a nil value in a list.
@@ -1268,12 +1268,12 @@ func actionInvocationFromTfplan(rawAction *planproto.ActionInvocation) (*plans.A
12681268 return ret , nil
12691269}
12701270
1271- func actionInvocationToTfPlan (action * plans.ActionInvocationInstanceSrc ) (* planproto.ActionInvocation , error ) {
1271+ func actionInvocationToTfPlan (action * plans.ActionInvocationInstanceSrc ) (* planproto.ActionInvocationInstance , error ) {
12721272 if action == nil {
12731273 return nil , nil
12741274 }
12751275
1276- ret := & planproto.ActionInvocation {
1276+ ret := & planproto.ActionInvocationInstance {
12771277 Addr : action .Addr .String (),
12781278 Provider : action .ProviderAddr .String (),
12791279 }
0 commit comments