-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow for custom path in TF_PLUGIN_CACHE_DIR #778
Comments
Weird. If it's running as Regardless, we actually use a directory the |
We are using the official Atlantis Docker image and using terragrunt with an Atlantis custom workflow. In the
|
Ahh, if you're using custom workflows you'll probably have to set the environment variable yourself like we do for the built-in steps.
|
I'm going to close this since it's been a while. If there's still an issue please comment and I can re-open. |
According to this: #34, TF_PLUGIN_CACHE_DIR defaults to
$HOME/.terraform.d/plugin-cache
however I can't get this to work in Docker (using the Fargate module).atlantis
server is run byroot
(home:/root/
) and the child process runs asatlantis
. However, whenatlantis
runs any TF commands, the child process is using the parent processes$HOME
TF_PLUGIN_CACHE_DIR should be an env var that the child process can honor. I've read through the guides and documentation and don't see a way around this? AWS Fargate has a 10GB limit that cannot be increased and so we run out of disk space very quickly. I wanted to set the plugin cache to somewhere in
/tmp
. Ideally, that's where the default should be.The text was updated successfully, but these errors were encountered: