Do not execute build on bundle destroy

This commit is contained in:
Andrew Nester 2024-11-05 12:51:22 +01:00
parent 26afab2ccb
commit ac40e02195
No known key found for this signature in database
GPG Key ID: 12BC628A44B7DA57
1 changed files with 0 additions and 1 deletions

View File

@ -62,7 +62,6 @@ func newDestroyCommand() *cobra.Command {
diags = bundle.Apply(ctx, b, bundle.Seq( diags = bundle.Apply(ctx, b, bundle.Seq(
phases.Initialize(), phases.Initialize(),
phases.Build(),
phases.Destroy(), phases.Destroy(),
)) ))
if err := diags.Error(); err != nil { if err := diags.Error(); err != nil {