amazonica icon indicating copy to clipboard operation
amazonica copied to clipboard

amazonica with localstack

Open lasiltan opened this issue 7 years ago • 2 comments

Is there a way to use amazonica with localstack, i.e. with localhost endpoints? Would be massively awesome for running tests locally.

lasiltan avatar Nov 04 '17 13:11 lasiltan

I think you should be able to pass an :endpoint key in the optional first arg credentials map like so: (s3/list-objects {:endpoint "http://localhost:4572"} :bucket-name "foo")

mcohen01 avatar Nov 04 '17 15:11 mcohen01

That works pretty well. Apparently amazonica.aws.sqs/arndoes not support this and that is needed for subscribing.

lasiltan avatar Nov 05 '17 10:11 lasiltan