Answers: <p>Did you try to use remote state storage like <a href="https://www.terraform.io/docs/backends/types/s3.html" rel="nofollow noreferrer">S3</a>? </p>
  
  <p>Also you can use <a href="https://www.terraform.io/docs/cloud/index.html" rel="nofollow noreferrer">Terraform Cloud</a> to organzie workflow and have the shared state. </p>
  
Answers: CC BY-SA 4.0
Answers: 2019-10-02T06:17:39.463Z
Answers: 2019-10-02T08:26:00.817Z
Answers: 2019-10-02T08:26:00.817Z
Answers: Vasiliy  Shakhunov
Body: <p>We started using Terraform to create VMs in some Cloud Providers. </p>
  
  <p>But we are a team with several people. </p>
  
  <p>Terraform has a state file. </p>
  
  <p>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. </p>
  
  <p><strong>My question:</strong> 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..</p>
  
Tags: <terraform>
Title: Can Terraform pull down the newest state file by itself?
UserDisplayName: niving6473
ThreadText: # Can Terraform pull down the newest state file by itself?
  
  (Asked by: username_0 on 2019-10-02)
  
  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..
  
  **Tags:** terraform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-10-02. Score: 1
  
  Did you try to use remote state storage like [S3](https://www.terraform.io/docs/backends/types/s3.html)?
  
  Also you can use [Terraform Cloud](https://www.terraform.io/docs/cloud/index.html) to organzie workflow and have the shared state.
  
  
  ---
  
  