Search⌘ K
AI Features

Remote State Storage Mechanisms

Explore how to securely manage Terraform state data using remote storage mechanisms that enable team collaboration and protect sensitive information. Learn the difference between standard and enhanced back-ends, and understand the benefits of remote state locking and shared access for Infrastructure as Code projects.

Terraform uses a local file back-end by default. While that might be sufficient when working on a small independent project, it doesn’t provide data protection or allow for collaboration. The solution is to use a remote state back-end, which stores the state data in a remote shared location.

Classes of back-ends

Remote back-ends store state data in a remote location based on the back-end configuration defined in the configuration. Not all back-ends are the same, and HashiCorp defines two classes of back-ends.

  • Standard ...