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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atlantis run plan and apply on different projects - applies on directories not listed in atlantis.yaml #1908

Closed
m00lecule opened this issue Nov 19, 2021 · 2 comments
Labels
bug Something isn't working waiting-on-response Waiting for a response from the user

Comments

@m00lecule
Copy link

m00lecule commented Nov 19, 2021

Overview of the Issue

I have found that atlantis might confuse user what will be applied. In scenario when for other project verification I will run atlantis plan -d another_dir then atlantis will also apply those changes when running atlantis apply - it might be misleading, because when I run again atlantis plan then possible changes from another_dir are not included.

Also I would like to discuss that some sort of .atlantisignore file might be nice feature to have - prevent from applying on de/null-2. #26

Reproduction Steps

atlantis plan

atlantis plan -d another_dir

atlantis plan

atlantis apply

Logs

changes from autoplan, followed by custom plan -d

plan-apply-1

difference between projects default planned and applied

plan-apply-2

Environment details

atlantis 0.17.5

Repo atlantis.yaml file:

version: 3
automerge: true
parallel_apply: true
parallel_plan: true
projects:
- dir: de/null-1
  workspace: null_1
  autoplan:
    enabled: true
    when_modified:
      - '*.hcl'

Additional Context

@m00lecule m00lecule added the bug Something isn't working label Nov 19, 2021
@m00lecule m00lecule changed the title atlantis run plan and apply on different projects -also ignores directories not listed in atlantis.yaml atlantis run plan and apply on different projects - applies on directories not listed in atlantis.yaml Nov 19, 2021
@m00lecule
Copy link
Author

m00lecule commented Dec 1, 2021

duplicate of #1876

@jamengual
Copy link
Contributor

is this still happening with v0.19.8?

@jamengual jamengual added the waiting-on-response Waiting for a response from the user label Aug 26, 2022
@github-actions github-actions bot added the Stale label Oct 11, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-on-response Waiting for a response from the user
Projects
None yet
Development

No branches or pull requests

2 participants