Open artarazavi opened 9 months ago
I believe the atlantis ui exposes the version. Is that sufficient or do you want to see the version on every pr in the Atlantis comment?
As a workaround for now, you might be able to use a custom workflow and run atlantis --version
to have it printed
Community Note
Describe the user story I wanted to have a way to check if the version of Atlantis that is currently running why: the last update introduced a breaking change to a workflow I had running and I wanted to just create alerting around version updates so I can check if my workflows are working properly
Describe the solution you'd like There is currently existing pre-built environment variables within Atlantis like SHOWFILE and PLANFILE we can access within custom workflows https://www.runatlantis.io/docs/custom-workflows.html#step I wondering if we could add one for atlantis version? theres one for the terraform version but itll be nice to have one for the atlantis version so currently atlantis is on version v0.27.0 it would output that
Describe the drawbacks of your solution no drawbacks I could think of
Describe alternatives you've considered checking on the configuration files for an update but that could be noisy