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

Force Plan/Apply #37

Closed
lorenzoaiello opened this issue Mar 6, 2018 · 3 comments
Closed

Force Plan/Apply #37

lorenzoaiello opened this issue Mar 6, 2018 · 3 comments

Comments

@lorenzoaiello
Copy link

It would be great if we had the ability to "force" a plan and/or apply to bypass the following error:

"Plan Failed: No Terraform files were modified."

The use case in our case, is we store userdata files, and policy statements as flat files using the terraform file function, so despite there being changes in those files, Atlantis won't re-run without adding a whitespace or some other irrelevant change to the TF stack.

@nipr-jdoenges
Copy link

What about an atlantis.yaml option where you could specify a filter for other files to treat as terraform changes?

@lkysow
Copy link
Member

lkysow commented Mar 7, 2018

@lorenzoaiello you can use atlantis plan -d {dir} -w {workspace} to force a plan
@nipr-jdoenges in the upcoming release you'll be able to configure which file changes cause Atlantis to run plan automatically!

@lkysow
Copy link
Member

lkysow commented Mar 15, 2018

Closing since this is available in the latest relesase with atlantis plan -d {dir}

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

No branches or pull requests

3 participants