microsoft / azure-pipelines-terraform

Azure Pipelines tasks for installing Terraform and running Terraform commands in a build or release pipeline.
MIT License
95 stars 60 forks source link

terraform creating terraform-provider file in temp folder, how to remove via build pipeline run #163

Closed manishlak closed 5 months ago

manishlak commented 1 year ago

using task to perform terraform image

after build pipeline complete will remain terraform-provider file left in agent machine image

how to remove via pipeline or manually only to be remove? due to this agent machine drive is getting full

mericstam commented 10 months ago

Hi, thanks for reporting. We will take a look at this.

stepintooracledba commented 5 months ago

@mericstam

Do we have an estimate on when this bug will be resolved?

@manishlak,

May I please know if this is sorted? Any workaround?

mericstam commented 5 months ago

After investigating some: this is an issue with terraform CLI on windows machines https://github.com/hashicorp/terraform/issues/28477 So nothing to do with the extension code. As a workaround I would delete the files with a separate script task after terraform commads are run.

br Manuel

stepintooracledba commented 5 months ago

Thanks @mericstam for the confirmation.

mericstam commented 5 months ago

Closing this as it is not related to extension code.