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
Example: Consider a PR with 6 separate state directories, which results in 6 plans and locks being created when running atlantis plan. I then review the plans and determine that one of them should not be applied by Atlantis. I then delete just that plan/lock (via the web UI, though I imagine it doesn't matter). Running atlantis apply then fails, with a "Applied 0 plans" comment. Trying again (by re-planning and deleting the offending plan) but just applying a single project (atlantis apply -p ...) fails with "no working directory found–did you run plan?".
I then have to atlantis plan -p ... for each of the desired projects and then apply. For small PRs, this isn't terrible, but imagine one with dozens of projects...
The text was updated successfully, but these errors were encountered:
Yeah it's the nature of how Atlantis clones repos. Unlock deletes the whole repo since otherwise, it'd be difficult to know when to clean up after itself without changing how the data is stored.
Could the same thing be achieved with exclusion syntax or inclusion syntax. I am thinking something like reading more than one -p in atlantis apply -p some/path/1 -p some/path/2 or exclusions like atlantis apply -N some/undesired/path (-N for not-path). Thoughts welcome but the overall goal would be to apply some states, or plan some states and not others. This would all be outside of the scope or auto-merge, I would think if a user wants to be clever and apply a selected states, and not others, they can handle the merge themselves.
Atlantis version: 0.15.1
Example: Consider a PR with 6 separate state directories, which results in 6 plans and locks being created when running
atlantis plan
. I then review the plans and determine that one of them should not be applied by Atlantis. I then delete just that plan/lock (via the web UI, though I imagine it doesn't matter). Runningatlantis apply
then fails, with a "Applied 0 plans" comment. Trying again (by re-planning and deleting the offending plan) but just applying a single project (atlantis apply -p ...
) fails with "no working directory found–did you run plan?".I then have to
atlantis plan -p ...
for each of the desired projects and then apply. For small PRs, this isn't terrible, but imagine one with dozens of projects...The text was updated successfully, but these errors were encountered: