diff --git a/terraform/context.go b/terraform/context.go index a817f3c8a..d27204001 100644 --- a/terraform/context.go +++ b/terraform/context.go @@ -489,6 +489,7 @@ func (c *Context) Apply() (*states.State, tfdiags.Diagnostics) { // by the plan, so Apply can be called after. func (c *Context) Plan() (*plans.Plan, tfdiags.Diagnostics) { defer c.acquireRun("plan")() + c.changes = plans.NewChanges() var diags tfdiags.Diagnostics