From da836dae09623a58ccb8c2f5cc63ca8925fac220 Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Thu, 20 Jan 2022 13:41:47 +0100 Subject: [PATCH] Run force-unlock with -no-color flag --- 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)