Cleared up 40GB of storage on my laptop with one simple trick:
rm -rf ~/**/.terraform/providers
rm -rf ~/**/.terraform/providers
Comments
Add
plugin_cache_dir = “$HOME/.terraform.d/plugin-cache”
Then whenever you run an init, it’ll make a link back there instead of downloading to the .terraform directory.