backend/remote: Support refresh-only plans
This commit is contained in:
parent
cb49a4c8d6
commit
a436c7fa2f
|
@ -256,6 +256,8 @@ in order to capture the filesystem context the remote workspace expects:
|
||||||
switch op.PlanMode {
|
switch op.PlanMode {
|
||||||
case plans.NormalMode:
|
case plans.NormalMode:
|
||||||
// okay, but we don't need to do anything special for this
|
// okay, but we don't need to do anything special for this
|
||||||
|
case plans.RefreshOnlyMode:
|
||||||
|
runOptions.RefreshOnly = tfe.Bool(true)
|
||||||
case plans.DestroyMode:
|
case plans.DestroyMode:
|
||||||
runOptions.IsDestroy = tfe.Bool(true)
|
runOptions.IsDestroy = tfe.Bool(true)
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue