Skip to content

Aztfexport doesnt cleanup user temp directory in windows #615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bkainth1 opened this issue Apr 11, 2025 · 1 comment
Open

Aztfexport doesnt cleanup user temp directory in windows #615

bkainth1 opened this issue Apr 11, 2025 · 1 comment
Labels
question Further information is requested

Comments

@bkainth1
Copy link

on my laptop , user temp directory was consuming around 80 G and c:\ drive was full. same issue I faced on another VM where I had been running aztfexport. once the C: drive is 100% full , the aztfexport fails . i have to manually clear the temp data. please fix this issue. aztfexport should clear the temp directory before it terminates.

@magodo
Copy link
Collaborator

magodo commented Apr 14, 2025

@bkainth1 The temporary folders will be auto cleaned up if the process ends properly, no matter succeeded or failed. Regarding why those folders are relatively large is due to the provider binary is always downloaded in each of them, by default. You can follow https://developer.hashicorp.com/terraform/cli/config/config-file#provider-plugin-cache to setup a plugin cache, so that it'll download only once for each version of the provider.

@magodo magodo added the question Further information is requested label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants