From a436c7fa2f0da2f76791699ce9cdbca22df5845b Mon Sep 17 00:00:00 2001 From: Chris Arcand Date: Mon, 3 May 2021 22:58:40 -0500 Subject: [PATCH] backend/remote: Support refresh-only plans --- internal/backend/remote/backend_plan.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/backend/remote/backend_plan.go b/internal/backend/remote/backend_plan.go index d73328bcd..6f6588871 100644 --- a/internal/backend/remote/backend_plan.go +++ b/internal/backend/remote/backend_plan.go @@ -256,6 +256,8 @@ in order to capture the filesystem context the remote workspace expects: switch op.PlanMode { case plans.NormalMode: // okay, but we don't need to do anything special for this + case plans.RefreshOnlyMode: + runOptions.RefreshOnly = tfe.Bool(true) case plans.DestroyMode: runOptions.IsDestroy = tfe.Bool(true) default: