You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Not a very clean solution, but I ended up setting the system property aws.region since the client building code uses the region if the endpoint is set. That uses DefaultAwsRegionProviderChain
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?
The text was updated successfully, but these errors were encountered: