Eagles-DevOps / MiniTwit

2 stars 2 forks source link

shared terraform state in cloud #145

Open janlishak opened 8 months ago

janlishak commented 8 months ago

""" By default, Terraform writes its state file to your local filesystem. This is okay for personal projects, but once you start working with a team, things get messy. In a team, you need to make sure everyone has an up to date version of the state file and ensure that two people aren’t making concurrent changes """

Storing Terraform State in Digital Ocean Space

this is the tutorial I read earlier: dev.to-blog looks good

or possible alternative, but much more complicated 4 Reasons To Try HashiCorp’s (New) Free Terraform Remote State Storage

it's storage by the company behind terraform. in the blog they said it's free. don't know if that's still true. it's specifically for this purpose and it also has GUI.

I looked at it seems that it's great, but it will take some time to setup and also we'll have to create a new organization. I think it's overkill for what we need.

Hopeberg commented 8 months ago

The first option sounds good to me. Agree that second option seems like an overkill for what we actually need

Romes8 commented 8 months ago

I am also for storing the state in DO. Guide is nice and well explained.