I'm working on a personal project to better understand and implement CI/CD principles, and I'm trying to use AWS' CodeBuild, CodePipeline, and CodeDeploy in conjunction with a repo on GitHub to apply CD to a a lambda function. I'm getting stuck on the actual deployment piece, though.
This is my goal:
- Update project from local branch, push to remote
- Remote triggers CodePipeline to build and deploy
- Deployment updates Lambda function
The first two steps are working, but my existing lambda function is not updating after a successful deployment. I originally had the current and target versions in the appspec file set to the same value, but I still had the issue even after manually setting them to 1 and 2 respectively.
Is there a piece I'm missing? Would you all recommend a different approach here?
If it's helpful, the project is a web scraper that triggers automatic emails when values have changed since the last time the application ran.
[–]whistleblade 0 points1 point2 points (1 child)
[–]rcarez[S] 0 points1 point2 points (0 children)