You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Should never happen; always indicates a bug in the creation of the plan file
215
215
diags=diags.Append(tfdiags.Sourceless(
216
216
tfdiags.Error,
217
217
"Failed to read plan from plan file",
218
-
"The given plan file does not have a valid backend configuration. This is a bug in the Terraform command that generated this plan file.",
218
+
"The given plan file does not have either a valid backend or state_store configuration. This is a bug in the Terraform command that generated this plan file.",
219
219
))
220
220
returnnil, diags
221
221
}
222
-
be, beDiags=c.BackendForLocalPlan(plan.Backend)
222
+
be, beDiags=c.BackendForLocalPlan(plan)
223
223
} else {
224
224
// Both new plans and saved cloud plans load their backend from config.
0 commit comments