Which backends does Terraform support?
BeginnerConceptState Internals
Answer
s3, gcs, azurerm, http, pg, kubernetes, consul, oss and the cloud block for HCP Terraform; local is the default. Not all support locking equally. OpenTofu supports the same family plus client-side state encryption.
More on State Internals
What does the state file contain?BeginnerWhat is the difference between local and remote state?BeginnerHow do you configure the S3 backend?BeginnerWhat is state locking and why does it matter?IntermediateHow does S3-native locking work and how does it replace DynamoDB?AdvancedHow do you inspect resources in state?Beginner