eladkal commented on a change in pull request #19725:
URL: https://github.com/apache/airflow/pull/19725#discussion_r755435506



##########
File path: airflow/providers/amazon/aws/hooks/s3.py
##########
@@ -173,7 +173,8 @@ def get_bucket(self, bucket_name: Optional[str] = None) -> 
str:
         :return: the bucket object to the bucket name.
         :rtype: boto3.S3.Bucket
         """
-        s3_resource = self.get_resource_type('s3')
+        session, endpoint_url = self._get_credentials()
+        s3_resource = session.client('s3', endpoint_url=endpoint_url, 
config=self.config, verify=self.verify)

Review comment:
       Ok lets leave it as is now we can investigate this later




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