sam build for Clojure projects on Java 11 runtime

0

I can build a tar file with the following command inside my SAM project:

clj -T:build uber

Then, I can upload that jar to a lambda function and it just works.

How to make the command sam build use that step, or at least, how to make sam local ... commands work with that jar, or trigger that command clj -T:build uber and use its output in a way the local lambda works?

Aside note: I'm not interested in solutions based on docker, nor custom Lambda runtimes with graalvm (yet). Just the plain ZIP (jar) solution. I also know the price of using Java in Lambda in terms of the Coldstar time, and I'm assuming the costs.

#Clojure #SAM

jgomo3
質問済み 1年前49ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ