Open
Description
Community Note
- 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
The ATLANTIS_DATA_DIR
should default to /home/atlantis/.atlantis
as per the FAQ
https://www.runatlantis.io/docs/faq
Atlantis, by default, stores all locking and Terraform plans locally on disk under the --data-dir directory (defaults to ~/.atlantis).
This becomes an issue if the value is unset if you have yaml configuration file that references the env var instead of the hard coded value.
The workaround is to always set the value so it can be references in the workflows yaml configs.
Reproduction Steps
Use ATLANTIS_DATA_DIR without setting it and it will throw an error because the env var is empty.
Logs
N/A
Environment details
N/A
Additional Context
N/A