We started using Terraform to create VMs in some Cloud Providers.

But we are a team with several people.

Terraform has a state file.

Whenever someone changes something via Terraform, ex.: creating, decomming VMs, that state file need to be again sent to the others too, or else, when the others open their terraform, it will re-create the decommed VMs or destroy existing ones since they had old state file.

My question: Can Terraform pull down the newest state file by itself? Or manually, before doing anything, humans needs to be trusted to "always download the newest state file"? Humans will make mistakes..

1 Answer 1


Did you try to use remote state storage like S3?

Also you can use Terraform Cloud to organzie workflow and have the shared state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.