Ravi Sir's Cards › AWS
Why remote state?
Why use remote state?. Keep state in a separately managed, versioned S3 bucket. Restrict access to that state. Terraform state can contain secrets. For a supported Terraform version, set use_lockfile = true in the S3 backend. DynamoDB-based locking is deprecated.
Read card text
What this card says
Shared state
Keep state in a separately managed, versioned S3 bucket. Restrict access to that state. Terraform state can contain secrets.
Lock the state
For a supported Terraform version, set use_lockfile = true in the S3 backend. DynamoDB-based locking is deprecated.
Check permissions
The backend needs permission for its state object and the .tflock object. Coordinate with the owner before clearing a stale lock.