-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Run apply only for a specific project in a multiproject repo #22
Comments
You should be able to run `atlantis apply -d your/directory`. Does that
work?
…On Mon, Mar 5, 2018, 12:21 PM psalaberria002 ***@***.***> wrote:
Hi!
I have been playing with a multi-project repository (dev, prod), and I
cannot find a way to execute plan or apply only for a specific project.
When I run atlantis plan I get the following message:
To perform exactly these actions, run the following command to apply:
terraform apply "/tmp/atlantis/data/repos/psalaberria002/atlantis-example/2/default/prod/default.tfplan"
I would like to do atlantis apply
"/tmp/atlantis/data/repos/psalaberria002/atlantis-example/2/default/prod/default.tfplan"
.
Is there a way to do this currently in Atlantis? Maybe there is an
existing flag I have missed.
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA_IvT_3FGBE7Fqe6HLf28bC3jF8Xvy1ks5tbZ5EgaJpZM4Sdjhm>
.
|
Awesome. I see now the feature was added in v0.3. I was running v0.2. Thank you. |
I am having issues with
These are the logs when I run
|
- Fixes #22. We were running apply in the parent directory. - Also changes error message if no plans are found to apply.
🤦♂️ yeah that's a bug. I've pushed release 0.3.1 to fix. Sorry for the trouble. |
I was going to send a PR exactly when you pushed the fix. Next time ;) Thanks for the fast fix. |
No problem, it was a dumb bug. That's the one major file without unit tests so of course it broke. Gonna test it today! |
Hi!
I have been playing with a multi-project repository (dev, prod), and I cannot find a way to execute plan or apply only for a specific project.
When I run
atlantis plan
I get the following message:I would like to do
atlantis apply "/tmp/atlantis/data/repos/psalaberria002/atlantis-example/2/default/prod/default.tfplan"
.Is there a way to do this currently in Atlantis? Maybe there is an existing flag I have missed.
Thank you.
The text was updated successfully, but these errors were encountered: