Static Website Hosting in AWS S3 and CloudFront using Terraform
Architectural Diagram:
1. The Storage - AWS S3
Every website needs a place to store its files (HTML, CSS, images). In AWS, this is S3 (Simple Storage Service).
resource "aws_s3_bucket" "s3_bucket" {
bucket = "amal-s3-bucket-terraform30days-15"
}
...
amals27.hashnode.dev7 min read