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.
So the use-case we have had in the past is via mode: on_plan.
Make changes to many many AWS roots (we're about to perform an upgrade)
auto-plan, atlantis takes the lock on the PR, now nobody can plan (nor apply) while we're upgrading
We make manual TF changes locally and apply via terraform apply (not using atlantis apply), here we are relying on the atlantis PR lock as a communication tactic informing other users that they can't touch TF right now because we are doing things out-of-band
We finish the TF changes, now we atlantis plan and confirm there are no changes
We atlantis apply (no-op)
We merge the PR, atlantis drops the lock, now users can plan/apply on their own PRs
To make a similar process with mode: on_apply we need a way to tell atlantis that other PRs are not allowed to apply any of the roots touched in our PR. Normally this would be coordinated via the atlantis lock (on_plan) on our PR, but since we're using on_apply that atlantis lock no longer exists.
We would ideally still want a way to "claim" the projects via an atlantis lock command, or atlantis apply --no-op or something....
Describe the solution you'd like
New Command: atlantis lock to complement atlantis unlock
This would lock the PR even during mode: on_apply for the project roots included in the PR
Describe the drawbacks of your solution
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered:
Community Note
Describe the user story
See: #3879 (comment)
Copied Below:
So the use-case we have had in the past is via
mode: on_plan
.terraform apply
(not using atlantis apply), here we are relying on the atlantis PR lock as a communication tactic informing other users that they can't touch TF right now because we are doing things out-of-bandatlantis plan
and confirm there are no changesatlantis apply
(no-op)To make a similar process with
mode: on_apply
we need a way to tell atlantis that other PRs are not allowed to apply any of the roots touched in our PR. Normally this would be coordinated via the atlantis lock (on_plan) on our PR, but since we're usingon_apply
that atlantis lock no longer exists.We would ideally still want a way to "claim" the projects via an
atlantis lock
command, oratlantis apply --no-op
or something....Describe the solution you'd like
New Command:
atlantis lock
to complementatlantis unlock
This would lock the PR even during
mode: on_apply
for the project roots included in the PRDescribe the drawbacks of your solution
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: