Fork me on GitHub
#holy-lambda
<
2024-03-04
>
octahedrion09:03:47

I'm trying to use native backend and bb hl:native:executable builds correctly, but when I test with sam local invoke MyHandler I get this error: Local image was not found...Building image...... Failed to build Docker Image NoneType: None Error: Error building docker image: pull access denied for ..., repository does not exist or may require 'docker login': denied: requested access to the resource is denied

octahedrion10:03:46

solved - the sam build step is missing from https://fierycod.github.io/holy-lambda/#/native-backend-tutorial after step 5

Karol Wójcik12:03:41

It’s not. You are can have either docker based deployment of Clojure lambda or native lambda. Not both

octahedrion13:03:42

ok I've misunderstood what's going on then

octahedrion13:03:02

what should I do about that error ?

Karol Wójcik14:03:00

You should remove the Docker configuration from your template and use the zip instead of Docker

octahedrion16:03:05

thanks how do I use the latest.zip with sam local invoke ? I've never done this before and I'm clueless

Karol Wójcik16:03:39

Create a new project and see how it’s done 🙏