No description
Find a file
Daisuke a7b0752b55 fix(cloudfront): rewrite extensionless paths to index
- append /index.html for extensionless requests
- document CloudFront Function behavior in README
2026-02-01 17:34:11 +09:00
.github/skills/commit-message-generator chore: add CI/CD tooling and project configuration 2026-01-04 12:47:40 +09:00
ci feat: simplify blog lambda deployment pipeline 2026-01-11 17:03:10 +09:00
cmd/lambda refactor: improve Lambda handler and update Go to 1.25.5 2026-01-04 10:02:12 +09:00
docker fix: resolve Lambda invocation failure from API Gateway 2026-01-12 21:25:06 +09:00
infra/cfn fix(cloudfront): rewrite extensionless paths to index 2026-02-01 17:34:11 +09:00
scripts chore: add CI/CD tooling and project configuration 2026-01-04 12:47:40 +09:00
test Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +09:00
.gitignore chore: add CI/CD tooling and project configuration 2026-01-04 12:47:40 +09:00
go.mod Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +09:00
go.sum Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +09:00
README.md fix(cloudfront): rewrite extensionless paths to index 2026-02-01 17:34:11 +09:00

n-daisuke-blog-deployment-source

Infrastructure as Code (IaC) for automating static blog deployment using AWS services.

This repository defines the infrastructure required to update and publish blog articles via AWS CodePipeline and Lambda (written in Go). It includes CloudFormation templates for provisioning all necessary components, such as:

  • S3: Source bucket for blog content
  • CloudFront: CDN for blog delivery
  • CodePipeline: CI/CD pipeline triggered by source updates
  • Lambda (Go): Custom deployment logic executed within the pipeline
  • ECR: Container repository for Lambda packaging
  • Secrets Manager: Secure storage for deployment keys
  • CloudFront Function: Appends /index.html for extensionless paths (e.g. /blog/2, /tags)

All infrastructure is declaratively managed via CloudFormation templates under infra/cfn/.

The Lambda source code and related tests are located in:

  • cmd/lambda/ Lambda entrypoint (Go)
  • test/ Unit tests for Lambda logic