Remote State Storage Mechanisms

Learn how Terraform stores state data in a remote location.

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 ...