Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Setting Terraform environment variable causes Atlantis to crash.
Reproduction Steps
Atlantis is running in Kubernetes. Terraform environment variables are set in a config map:
Start Atlantis and it fails. I can see that the TF_LOG variable is picked up by Terraform when I remove the TF_CLI_ARGS variable, so it appears I do not need to put these variables into my repo config file; putting them into the container's environment appears to be enough. Without the TF_CLI_ARGS variable Atlantis starts correctly. Why is this causing it to crash?
Community Note
Overview of the Issue
Setting Terraform environment variable causes Atlantis to crash.
Reproduction Steps
Atlantis is running in Kubernetes. Terraform environment variables are set in a config map:
Start Atlantis and it fails. I can see that the TF_LOG variable is picked up by Terraform when I remove the TF_CLI_ARGS variable, so it appears I do not need to put these variables into my repo config file; putting them into the container's environment appears to be enough. Without the TF_CLI_ARGS variable Atlantis starts correctly. Why is this causing it to crash?
Logs
Environment details
Atlantis v0.22.3