DEV Community

loading...
Cover image for Global Terraform plugin installation

Global Terraform plugin installation

Julian
see https://dev.to/c33s/comment/3eck
・1 min read

simply add this TF_PLUGIN_CACHE_DIR to your environment variables and future plugins downloaded with terraform init will go there:

TF_PLUGIN_CACHE_DIR=$HOME/.terraform.d/plugin-cache
Enter fullscreen mode Exit fullscreen mode

links:

Discussion (0)