babashka / pod-babashka-aws

Deprecated, use https://github.com/grzm/awyeah-api
Apache License 2.0
61 stars 14 forks source link

Hello world #1

Closed jeroenvandijk closed 3 years ago

jeroenvandijk commented 3 years ago

I've added a first implementation. A few notes:

lispyclouds commented 3 years ago

Hey @jeroenvandijk this looks really awesome and kudos to the effort! One suggestion i have is to maybe use https://clojuredocs.org/clojure.core/with-out-str to proxy the call to (aws/doc ...) and capture the output of the call and send it back as a pod response? We need a shim method in the pod for this. What say?

jeroenvandijk commented 3 years ago

Now with tests. I also added some missing namespaces. Everything seems to be working. Note that I haven't put it through serious AWS usage yet, but I believe it's a proper start.

Open items:

jeroenvandijk commented 3 years ago

Oh and in addition I'm still thinking about how to integrate the credential interface for custom setups. But it's already usable without this addition through AWS environment vars.