[aws] Pickup the default host provided via Raz config
@@ -44,7 +44,7 @@ def _make_client(identifier, user):
client_conf = aws_conf.AWS_ACCOUNTS[identifier] if identifier in aws_conf.AWS_ACCOUNTS else None
if RAZ.IS_ENABLED.get() and not aws_conf.IS_SELF_SIGNING_ENABLED.get():
- host = client_conf.HOST.get()
+ host = aws_conf.get_default_host() or client_conf.HOST.get()
s3_client = RazS3Connection(username=user, host=host) # Note: Remaining AWS configuration is fully skipped
s3_client_expiration = None
else:
