Fork me on GitHub
#aws
<
2015-12-30
>
clojuregeek20:12:31

BTW my questions the other day about getting s3 tags, I talked to the maintainer of amazonica and he said it should work passing in {:bucket-name "mybucket"} and said it was a bug, and fixed it. https://github.com/mcohen01/amazonica/commit/1acb86e1eed58ad9c4f380bad256b097cf254263 /cc @alandipert

alandipert20:12:58

@clojuregeek: cool, thanks for looking into it

clojuregeek20:12:58

simple_smile i am going to submit PR with an example in the docs

alandipert20:12:29

speaking of amazonica, just cooked up this script that shows how to query EC2 stuff w/ datomic datalog - https://gist.github.com/alandipert/d2cb38ee869448182c4b

alandipert20:12:03

the key to it is the paths function that pivots a nested map into a set of tuples, which i think should work with many other things amazonica can return beyond ec2 info

clojuregeek21:12:06

@alandipert: is + some kind of convention, for a constant? in def +instance-states+ ??

alandipert21:12:08

i've seen it around, and use it myself

alandipert21:12:23

i'd use *earmuffs* but then clj complains when the thing isn't dynamic

alandipert21:12:43

but yeah that's the idea, +things+ are global constants