-
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
Question on state? #131
Comments
You should definitely use remote state. |
Thanks @psalaberria002 I will look at this maybe a different bucket/folder per each environment we have in our repo as we template off a template environment and don't think we have updated all the resource names in each env to be unique. |
I would recommend having multiple states. Per environment and service for example.
|
Hey Alister, I would echo the suggestion to use remote state. Then when atlantis runs This isn't related to Atlantis but I'd also recommend that you make your remote state path match the paths in your repo so it's easy to know how to reference a remote state from a different directory. |
cheers for the advice we are going to try to use our proget servers via a http remote and differing path! fingers crossed :) I will match the path to repo path as u suggest |
* So for whatever reason tf show with big plan doesn't work in async * rename isValidCommand to isAsyncEligibleCommand
New parsing of comments. Accept all flags. Fixes runatlantis#129
With atlantis what is the preferred way of handling state?
We have a team of 3 here and would like to use this to centralise Terraform for us. I was of the understanding it's bad form to check in a terraform.tfstate file to repo so we have been excluding them which means we can't apply plans others have already worked on applying previously or our imported state. I was looking at Atlas that handles this for you as remote state when I spotted atlantis and assumed it would create and hold it's own state locally as local state but I can't find this anywhere? I was going to push our state files into that structure. Do we need to setup remote state provider and which is recommended with atlantis?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: