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

Storing the tfstate files in Git #21

Open
1 task
keyvaann opened this issue Aug 21, 2024 · 2 comments
Open
1 task

Storing the tfstate files in Git #21

keyvaann opened this issue Aug 21, 2024 · 2 comments

Comments

@keyvaann
Copy link
Collaborator

keyvaann commented Aug 21, 2024

What would be the best practice to store the .tfstate and .tfvars in Git? Should there be a private fork or a parent repository or something else?

Tasks

@keyvaann keyvaann changed the title Storing the tfstate in Git Storing the tfstate files in Git Aug 21, 2024
@baixiac
Copy link
Member

baixiac commented Aug 23, 2024

We've used the TF S3 backend on our fork and it works fine for managing tfstate. Plus it provides a locking mechanism to prevent concurrent updates to tfstate by multiple users.

@keyvaann
Copy link
Collaborator Author

Is it possible to add the code for backend configuration to this repository as well?

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

2 participants