No description
Find a file
Daisuke 45c77bab2b feat: add CodePipeline for Lambda deployment automation
- Add CodeBuild project for building and pushing Docker images
- Add CodePipeline with S3 source and build stages
- Add EventBridge rule to trigger pipeline on S3 object creation
- Configure IAM roles and policies for pipeline execution
2026-01-04 12:44:31 +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: add CodePipeline for Lambda deployment automation 2026-01-04 12:44:31 +09:00
test
go.mod
go.sum
README.md

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