Terraform on AWS: Nonprod and Production Environments · Foundations: Layout, State, Providers and Organization
Remote State: S3 Backend with Native Locking
Store Terraform state in S3 with versioning and server-side encryption, and use Terraform 1.17 native S3 locking to avoid the DynamoDB table.
What you'll build
A bootstrap Terraform configuration that creates the S3 bucket used to store the platform's state files, plus an example backend configuration that every environment root uses to store its state in a separate key.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Terraform on AWS: Nonprod and Production Environments course are part of the membership.
Open in the app to mark lessons complete, take notes and track your progress.