No description
Find a file
Daisuke 2ebcc5541e refactor: improve Lambda handler and update Go to 1.25.5
- Update Dockerfile: Go 1.25.5, fix build context paths
- Use git archive instead of zip to exclude .git directory
- Add context support for git/zip operations (timeout control)
- Optimize git clone (--depth 1, --single-branch)
- Improve error handling (%w wrapping) and logging consistency
- Add case-insensitive HTTP header lookup for webhooks
2026-01-04 10:02:12 +09:00
cmd/lambda refactor: improve Lambda handler and update Go to 1.25.5 2026-01-04 10:02:12 +09:00
docker refactor: improve Lambda handler and update Go to 1.25.5 2026-01-04 10:02:12 +09:00
infra/cfn feat(cicd): enable S3-triggered CodePipeline and align IAM/ECR integration 2026-01-01 11:18:26 +09:00
test Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +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 Add project overview and infrastructure description to README 2025-12-31 19:33:55 +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

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