I’m currently trying to configure a CodePipeline that deploy a serverless application (lambda + API Gateway using CloudFormation) but i’m really struggling in the process. The hook on Github is working, the build seems to work (i used the buildspec.yml described here ) but the deploy is not working throwing many different issues (like logGroup already exists or role invalid).
When I tried to deploy again using
serverless deploy it wasn’t working anymore so I had to delete everything, and it was still throwing errors. I have changed the name of the project so it works again.
Now I would like to know if anyone figured out a simple way to have a CICD (using codepipeline or else) to deploy from Github to Lambda + API Gateway ?
Thanks in advance !