No description
Find a file
Daisuke 5e9c27cbf7 feat: enhance Lambda function configuration and add outputs
- Add parameters for source bucket, repo URL, and branch
- Increase timeout to 300s and memory to 512MB
- Add ARM64 architecture support
- Add S3 GetObject and ListBucket permissions
- Use ImportValue for ECR repository ARN
- Add resource names for better identification
- Export API endpoint, Lambda ARN, and function name
2026-01-04 12:46:05 +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: enhance Lambda function configuration and add outputs 2026-01-04 12:46:05 +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