n-daisuke-blog-deployment-s.../README.md

20 lines
916 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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