Commit graph

4 commits

Author SHA1 Message Date
639044388f feat: add ECR lifecycle policy and additional outputs
- Add lifecycle policy to keep only last 10 images
- Export repository ARN and name for cross-stack references
2026-01-04 12:45:08 +09:00
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
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
0b67765510 Restructure project layout and add ECR repository CloudFormation template
- Move application entrypoint to cmd/lambda/
- Move Dockerfile to docker/ for clearer build context separation
- Promote go.mod/go.sum to project root
- Move CloudFormation templates under infra/cfn/ for consistent infra layout
- Add new template-container-repository.yaml defining ECR repository (blog-deployment)
- Move Lambda test files to test/ directory
2025-12-31 19:24:08 +09:00