Terraform S3 Bucket
- When
- August 2026
- Kind
- Side project
An introduction to infrastructure as code: Terraform defines an S3 bucket with tags and a public access block, and uploads a custom image as an object.
Problem
Clicking through the console does not scale or repeat. Infrastructure as code makes the same bucket reproducible from a file.
Highlights
- Terraform installed and the AWS provider configured.
- main.tf defines the bucket, tags and a public access block that blocks all public access.
- Covers init, plan and apply, including fixing a missing-credentials error.
- Resources confirmed in the AWS console.
Stack
Screens


