Terraform on AWS: Nonprod and Production Environments · Identity and Data: IAM, S3 and RDS
S3 Private Bucket Module
Build a reusable module for a hardened private S3 bucket: versioning, server-side encryption, public access block, TLS-only bucket policy and lifecycle rules.
What you'll build
A modules/s3-bucket module that creates a private S3 bucket with versioning, AES-256 encryption, a public access block, a bucket policy that denies HTTP requests, and configurable lifecycle rules to expire old versions and noncurrent objects.
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.