From 57421f185cb4eba9cbf54a995826d966f0eef8fe Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 12 Jul 2023 18:02:41 +0200 Subject: [PATCH] remove confirmation check --- bundle/deploy/terraform/apply.go | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bundle/deploy/terraform/apply.go b/bundle/deploy/terraform/apply.go index c2f806287..c682ea37e 100644 --- a/bundle/deploy/terraform/apply.go +++ b/bundle/deploy/terraform/apply.go @@ -43,18 +43,7 @@ func (w *apply) Apply(ctx context.Context, b *bundle.Bundle) error { return err } - // Ask for confirmation, if needed - if !b.Plan.ConfirmApply { - b.Plan.ConfirmApply, err = cmdio.Ask(ctx, "Proceed with apply? [y/n]: ") - if err != nil { - return err - } - } - if !b.Plan.ConfirmApply { - // return if confirmation was not provided - return nil - } - + // We do not block for confirmation checks at deploy cmdio.LogString(ctx, "Starting deployment") // Apply terraform according to the plan