Commit graph

6 commits

Author SHA1 Message Date
8cd30da394 fix: resolve Lambda invocation failure from API Gateway
- Align Dockerfile with AWS official documentation for provided runtime
- Remove DefinitionBody from SAM template to avoid conflict with Events property
- This enables SAM to automatically generate AWS::Lambda::Permission resource
- Fixes 500 error when Forgejo webhook triggers API Gateway endpoint"
2026-01-12 21:25:06 +09:00
a59a8e6461 feat: simplify blog lambda deployment pipeline 2026-01-11 17:03:10 +09:00
04237038fe feat: support ECR image digest for deterministic Lambda deployments
- Add ImageDigest parameter with conditional logic
- Enable AutoPublishAlias for function versioning
- Improve deployment reproducibility
2026-01-04 14:08:45 +09:00
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
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
Renamed from template-lambda-function.yaml (Browse further)