mcohen01 / amazonica

A comprehensive Clojure client for the entire Amazon AWS api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

s3 region error

mspencer-hm opened this issue · comments

I am able to auth with my aws api key and secret key. However I am getting this error 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. com.amazonaws.client.builder.AwsClientBuilder.setRegion (AwsClientBuilder.java:462)

I have seen some suggestions to update ~/aws/config, but that is 1 not working and 2 wont work for deployment. Is there a way to explicitly set the region value in the code or from an env variable?