semaphoreui / semaphore

Modern UI for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
https://semaphoreui.com
MIT License
10.39k stars 1.05k forks source link

Question: How do you manage the tfstate? #2390

Open bykof opened 1 hour ago

bykof commented 1 hour ago

Question

I have a git repository, where I manage all my servers and I want to have a state shared across semaphore and team members, who could possibly make a tofu apply manually. How do you share the tfstate? Do you commit it to the git repository?

Related to

No response

bykof commented 1 hour ago

So I just saw this, is this the preferred way to do it: https://developer.hashicorp.com/terraform/language/state/remote