From 28ec186e24edcb390e237103f7b7010f2c50079e Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Fri, 19 Aug 2022 17:02:29 +0200 Subject: [PATCH] Run force-unlock with -no-color flag (#270) --- tfexec/force_unlock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfexec/force_unlock.go b/tfexec/force_unlock.go index c8dddffa..e501baf5 100644 --- a/tfexec/force_unlock.go +++ b/tfexec/force_unlock.go @@ -36,7 +36,7 @@ func (tf *Terraform) forceUnlockCmd(ctx context.Context, lockID string, opts ... for _, o := range opts { o.configureForceUnlock(&c) } - args := []string{"force-unlock", "-force"} + args := []string{"force-unlock", "-no-color", "-force"} // positional arguments args = append(args, lockID)