holy-lambda 2023-02-07

Has anyone used Github actions to produce a native build?

bit late but yes I have done so

need some pointers or did you figure it out?

Thanks for the offer - some pointers would be useful.

I’m using gh actions for lambdas using snap start, but that circumvents HL entirely

Maybe this can help, it's very straightforward https://gist.github.com/patrixl/1d00d0a5a3a7acf45dceb6a5ccd37726 Things to note 1. I'm using the Github oidc to connect Github Actions to AWS : https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services 2. also using polylith but that's incidental, the only thing it changes is the paths list and the working-directory

the rest are just the usual bb tasks and sam commands to bulid and deploy

Thank you, Patrix!

✅ 1

As you say, it’s straightforward. I had something similar for the snapstart. For HL, I was expecting to wrestle with a docker config but that doesn’t appear to be the case.

that's nice to know actually, maybe I'll look into Snapstart one of these days 🙂