Fork me on GitHub
#aws
<
2017-05-08
>
derwolfe16:05:59

anyone using localstack with amazonica?

derwolfe16:05:32

I’m having a bit of difficulty getting the incantation right that would allow me to point my aws calls to the local … localstack

lvh17:05:32

(I do not)

derwolfe20:05:24

ah, I think I found the issue. The application from which I’m invoking my AWS code needs some exclusions; when used from a fresh repo, I simply need to use amazonica’s with-credential and then a fake key, secret, and the local url for the localstack service. Cool stuff 🙂

derwolfe21:05:57

and my problem was solved by moving amazonica’s decl in project.clj nearer to the top, before several other libraries that depend on apache http libs - lesson which I didn’t know; ordering matters: )

mccraigmccraig22:05:23

@derwolfe if you specify :pedantic? :abort in your project.clj it will bork if there are any incompatible dependencies and ordering will stop mattering

derwolfe22:05:21

@mccraigmccraig oooh, good to know. I’ll give that a try 🙂

mccraigmccraig22:05:18

(you will then have to specify sufficient exclusions that there are no more incompatible dependencies to stop it borking - i prefer that you are forced to be explicit like this)