Day 3 - Creating My First S3 Bucket Using Terraform
Introduction Day 3 felt like the first real interaction with AWS. Not just writing Terraform code, but actually creating something in the cloud. A small step, a simple S3 bucket, but it carried an important lesson: before infrastructure, comes authentication. Understanding the Basics Before Terraform can create anything in AWS, it needs permission. This is handled using AWS credentials. I configured mine using: aws configure Once set, Terraform can securely communicate with AWS APIs. What is S3? Amazon S3 (Simple Storage Service) is an object storage service. It allows you to store files like: Images Backups Logs Application data One key rule: S3 bucket names must be globally unique across AWS. Terraform Code Here’s the simple configuration I used: provider "aws" { region = "us-east-1" } resource "aws_s3_bucket" "my_bucket" { bucket = "jay-day3-s3-bucket-123456" tags = { Name = "Day3B...