You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Community Note
Describe the user story
I'd like to add a new feature flag to atlantis without having to add it both as a
--xyz
flag and as an environment variable.Describe the solution you'd like
Add it in a single place and have it create the flag and the env var.
This will result in less code and fewer contirbutions that forget to add it to one or the other.
See this PR on how to automate it aquasecurity/tfsec#1990
See this for inspiration https://github.com/carolynvs/stingoftheviper/blob/main/main.go
Flags
atlantis/cmd/server.go
Lines 36 to 41 in 1bd5cc2
Env var
atlantis/server/user_config.go
Lines 10 to 13 in 1bd5cc2
Describe the drawbacks of your solution
None
Describe alternatives you've considered
None
The text was updated successfully, but these errors were encountered: