Reword error message when using local exec

This commit is contained in:
Sebastian Rivera 2023-07-24 14:04:42 -04:00
parent 1cbc95ce56
commit 31cf55fe12

View File

@ -78,7 +78,7 @@ func (b *Local) localRun(op *backend.Operation) (*backend.LocalRun, *configload.
var ctxDiags tfdiags.Diagnostics
var configSnap *configload.Snapshot
if op.PlanFile.IsCloud() {
diags = diags.Append(fmt.Errorf("error: using a saved cloud plan with the local backend is not supported"))
diags = diags.Append(fmt.Errorf("error: using a saved cloud plan when executing Terraform locally is not supported"))
return nil, nil, nil, diags
}