Skip to content

Commit

Permalink
Merge branch 'main' into DEV-2820
Browse files Browse the repository at this point in the history
  • Loading branch information
samtholiya authored Dec 14, 2024
2 parents c659f04 + c0e7054 commit 9d6ffff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/exec/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func ExecuteTerraform(info schema.ConfigAndStacksInfo) error {
}

// Clean up
if info.SubCommand != "plan" && info.PlanFile == "" {
if info.SubCommand != "plan" && info.SubCommand != "show" && info.PlanFile == "" {
planFilePath := constructTerraformComponentPlanfilePath(cliConfig, info)
_ = os.Remove(planFilePath)
}
Expand Down

0 comments on commit 9d6ffff

Please sign in to comment.