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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org