From a5f2f4cbba343a0b4b1f502714e8c41acd93cca3 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Tue, 15 Oct 2019 16:21:40 -0400 Subject: [PATCH] Update messaging for .terraformignore --- backend/remote/backend_plan.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/remote/backend_plan.go b/backend/remote/backend_plan.go index 9563080e1d..f4a3d71189 100644 --- a/backend/remote/backend_plan.go +++ b/backend/remote/backend_plan.go @@ -164,10 +164,12 @@ func (b *Remote) plan(stopCtx, cancelCtx context.Context, op *backend.Operation, The remote workspace is configured to work with configuration at %s relative to the target repository. -Therefore Terraform will upload the full contents of the following directory -to capture the filesystem context the remote workspace expects: +Terraform will upload the contents of the following directory, +excluding files or directories as defined by a .terraformignore file +at %s/.terraformignore (if it is present), +in order to capture the filesystem context the remote workspace expects: %s -`), w.WorkingDirectory, configDir) + "\n") +`), w.WorkingDirectory, configDir, configDir) + "\n") } }