Skip to content

Commit

Permalink
DNM: do not delete terraform dir after provision
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdillon committed Apr 23, 2024
1 parent fa8df7a commit 0f3baf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/terraform/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (p *Provider) Provision(_ context.Context, dir string, parents asset.Parent
return nil, fmt.Errorf("cannot get absolute path of terraform directory: %w", err)
}

defer os.RemoveAll(terraformDir)
//defer os.RemoveAll(terraformDir)
if err = UnpackTerraform(terraformDirPath, releaseImage.PullSpec, p.stages); err != nil {
return nil, fmt.Errorf("error unpacking terraform: %w", err)
}
Expand Down

0 comments on commit 0f3baf7

Please sign in to comment.