Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

toggle to silence multienv output #4388

Open
1 task done
3bbbeau opened this issue Mar 27, 2024 · 1 comment 路 May be fixed by #4422
Open
1 task done

toggle to silence multienv output #4388

3bbbeau opened this issue Mar 27, 2024 · 1 comment 路 May be fixed by #4422
Labels
feature New functionality/enhancement

Comments

@3bbbeau
Copy link

3bbbeau commented Mar 27, 2024

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.

Describe the user story
As an end-user of Atlantis, when multienv is used, I don't want to see this output.

Describe the solution you'd like
Environment variable to disable multienv output, e.g. ATLANTIS_MULTIENV_OUTPUT.

This would suppress the following output when Atlantis runs a plan/apply:

Dynamic environment variables added:
FOO_BAR_ENV
FOO_BAZ_ENV
...
...

multienv is powerful for configuration within workflows, but when used has the disadvantage of reducing visibility that Atlantis provides by outputting redundant information.

Describe the drawbacks of your solution
I can't think of any drawbacks, as this would be opt-in and someone using it should be aware of the loss of contextual information from multienv.

Describe alternatives you've considered

  • Using a standard env instead with output disabled, however that defeats the flexibility of the multienv directive.
  • Implementing a toggle like output: hide, which is used in run directives, instead of an environment variable toggle.
@3bbbeau 3bbbeau added the feature New functionality/enhancement label Mar 27, 2024
@anryko anryko linked a pull request Apr 12, 2024 that will close this issue
1 task
@3bbbeau
Copy link
Author

3bbbeau commented Apr 15, 2024

(Thank you @anryko for working on this issue! I appreciate it!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant