Fork me on GitHub
#aws
<
2017-01-12
>
dottedmag10:01:35

Does anyone know what happened to Pallet? Looks like it just died two years ago. Or has it achieved the "finished" status and does not need any further changes?

dottedmag10:01:53

Also, what does one use instead? Back to shell scripts and CFEngine mess?

mccraigmccraig12:01:59

@dottedmag i've been using pallet - it seems pretty dead now though, and with systemd in ubuntu 16 lts i think it will stop working, so i'm planning on migrating to terraform soon

dottedmag12:01:19

@mccraigmccraig Have you tried terraboot?

mccraigmccraig12:01:25

@dottedmag that was my planned interface to terraform, but i haven't found the time to investigate yet... @otfrom and the other mastodonc people are very helpful if you try it and have problems though

curtosis19:01:48

I seem to be doing something really silly … I’m playing with faraday, the super basic intro stuff, and it keeps throwing exceptions. It’s really just:

=> (require '[taoensso.faraday :as far])
=> (def client-opts {:access-key "..." :secret-key "..." :endpoint ""})
=> (far/list-tables client-opts)
java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonParser.setCurrentValue(Ljava/lang/Object;)V
=> (far/list-tables client-opts)

java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.ClientConfiguration

curtosis19:01:58

I’m literally just starting up a repl (with faraday 1.9.0 in my dependencies) and that fails. Anyone seen this?

curtosis19:01:34

I should probably also add that aws dynamodb list-tables works fine using the AWS CLI.

alandipert19:01:08

@curtosis are you sure you have no other deps? Looks to me like something brought in a conflicting version of Jackson. Either that or faraday itself has the conflict

alandipert19:01:35

usual culprit is cheshire

curtosis19:01:02

hmmmmmm....

curtosis19:01:35

data.json and pedestal.

alandipert19:01:07

If you're using boot you can do boot show -p to diagnose

alandipert19:01:22

Lein-pedantic on lein

alandipert19:01:48

I don't think data.json depends on anything so if I had to guess, pedestal is bringing Jackson in

curtosis19:01:16

of course, boot is new to me so I’ll have to learn how to read the show -p output 😛

curtosis19:01:02

turns out I needed boot show -d to find it. pedestal.service 0.5.1 -> transit-clj 0.8.285 -> jackson-core 2.3.2, but aws-java-sdk-dynamodb loads 2.5.3. Fun.

curtosis19:01:08

thanks for the pointer!

alandipert19:01:17

Out of curiosity, how did you fix?

curtosis19:01:31

added an :exclusion for jackson-core to pedestal.service