No description
- 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 |
||
|---|---|---|
| cmd/lambda | ||
| docker | ||
| infra/cfn | ||
| 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