danielcweeks commented on code in PR #6951:
URL: https://github.com/apache/iceberg/pull/6951#discussion_r1123897654


##########
aws/src/main/java/org/apache/iceberg/aws/AwsProperties.java:
##########
@@ -1227,6 +1251,24 @@ public <T extends DynamoDbClientBuilder> void 
applyDynamoDbEndpointConfiguration
     configureEndpoint(builder, dynamoDbEndpoint);
   }
 
+  public Region restSigv4SigningRegion() {
+    if (restSigv4SigningRegion == null) {
+      this.restSigv4SigningRegion =
+          DefaultAwsRegionProviderChain.builder().build().getRegion().id();

Review Comment:
   Lazily loading the default region so that we don't fail if it cannot be 
resolved in the current environment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to