AWS Environment Variables required for Amazonica
I’ve decided to use the Amazonica Clojure client for the Amazon AWS api. One issue that I was having upon requiring this library was that my tests were passing locally, but my build was failing on Travis CI.
com.amazonaws.SdkClientException: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.
The Amazonica documentation Authentication section encourages you to set
AWS_SECRET_ACCESS_KEY environment variables, but had no mention of the region.
Hopefully this saves someone else some time in the future!