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.

Members can save this page, take notes and track progress. See membership · Sign in

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.

See plans Sign in

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake