No description
Find a file
Daisuke 621b9f006e feat(cicd): enable S3-triggered CodePipeline and align IAM/ECR integration
- enable EventBridge notifications on source S3 bucket
- trigger CodePipeline execution on source.zip updates
- fix artifact bucket ARN substitutions
- extend CodePipeline role permissions for S3, CodeBuild, and approvals
- allow Lambda to pull images from ECR via repository policy
- export ECR repository URI and reference it from Lambda
2026-01-01 11:18:26 +09:00
cmd/lambda Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +09:00
docker Restructure project layout and add ECR repository CloudFormation template 2025-12-31 19:24:08 +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