Reword error message when using local exec

cli-team/saved-cloud-plans
Sebastian Rivera 3 years ago
parent 1cbc95ce56
commit 31cf55fe12

@ -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
}

Loading…
Cancel
Save