mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -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 ctxDiags tfdiags.Diagnostics
|
||||||
var configSnap *configload.Snapshot
|
var configSnap *configload.Snapshot
|
||||||
if op.PlanFile.IsCloud() {
|
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
|
return nil, nil, nil, diags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user