pitrou opened a new pull request, #46723:
URL: https://github.com/apache/arrow/pull/46723

   ### Rationale for this change
   
   The default constructor of the `ClientConfiguration` class in the AWS SDK 
can issue spurious EC2 metadata requests to resolve the current region, even if 
we would later set the region from our S3 options.
   
   ### What changes are included in this PR?
   
   1. Avoid spurious EC2 metadata calls by disabling "IMDS" in the 
`ClientConfiguration` constructor
   2. Change the smart defaults from "legacy" to "standard" (see 
https://docs.aws.amazon.com/sdkref/latest/guide/feature-smart-config-defaults.html)
   3. Let the user configure the smart defaults in `S3Options`
   
   ### Are these changes tested?
   
   By existing CI tests and configurations.
   
   ### Are there any user-facing changes?
   
   The default S3 settings are potentially changed. Hopefully this will not 
trigger any regression in behavior.
   


-- 
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]

Reply via email to