Fork me on GitHub
#babashka
<
2021-12-02
>
james11:12:10

Very nice to know about, Azure has a similar endpoint but you don't need to walk it, it returns json with

curl -s -H Metadata:true ""
I ran it from a kubernetes pods in aws/azure. Must explore more. I don't think you could even consider doing this in bash.

Dig17:12:10

That is awesome idea to return it as JSON. Updated the gist to do it. https://gist.github.com/digash/23ce503c71cd8bb93ae57212f3ece2dd

borkdude20:12:51

Babashka 0.6.8 • Add `reader-conditional?`, `test` • Deps.clj: bump to tools jar `1.10.3.1040` • Babashka.process: support `deref` with timeout (https://github.com/SevereOverfl0w) • Add new functions from clojure 1.11 alpha3 except `clojure.java.math` • nREPL server: catch `Throwable` instead of `Exception`, fixes hanging with `assert` The new parse functions in clojure 1.11 alpha3 should come in handy for #adventofcode :)

babashka 4