amazonica
amazonica copied to clipboard
s3 region error
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?