Skip to content

Terraform States

🟠 Developer initiates Terraform commands
🟠 Read and update state files stored in Amazon S3
🟠 State files are encrypted and versioned
🟠 Acquire a lock in DynamoDB before making changes
🟠 Locking prevents conflicts and race conditions
🟠 Each lock is identified by a unique lock ID (e.g., lock-abc-123)
🟠 Execute Terraform plans to provision or update resources
🟠 Release the lock in DynamoDB after updates