Skip to content

Commit

Permalink
Reword error message when using local exec
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasslash committed Jul 24, 2023
1 parent 1cbc95c commit 31cf55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/backend/local/backend_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 31cf55f

Please sign in to comment.