mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 23:50:12 -06:00
Reword error message when using local exec
This commit is contained in:
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…
Reference in New Issue
Block a user