-
Notifications
You must be signed in to change notification settings - Fork 1.1k
TF_PLUGIN_CACHE_DIR is not present in custom steps #5583
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
Comments
Hello @leonnicolas! I'm Dosu, here to help you tackle bugs, answer questions, and support your journey as a contributor. I'm standing by while you wait for a human maintainer! The If To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Hi Dosu, you are right, that the DefaultClient propagates the I mean the fix is easy by providing an extra EDIT @dosu |
@leonnicolas If you are writing a custom workflow, why aren't you just setting the TF_PLUGIN_CACHE_DIR environment variable? |
I solved it in a similar way. I opened the issue not because it is not possible, but either
|
Community Note
Overview of the Issue
Not sure if this is intended or not, but it seems that most environment variables are propagated from the caller (atlantis) to the callee (custom step), except TF_PLUGIN_CACHE_DIR because this variable is never in the environ.
If this is indeed not intended, I am happy to "fix" it. Otherwise it would be nice to add some note in the documentation.
Reproduction Steps
Don't disable the plugin cache (default behavior).
Override the init step with a custom run:
TF_PLUGIN_CACHE_DIR
is not in the process's environ. :((The text was updated successfully, but these errors were encountered: