Skip to content

Commit 8a4a769

Browse files
committed
fix S3 call without boto3 configs.
1 parent b94a68e commit 8a4a769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/redshift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def write_load_manifest(self, manifest_path, objects_paths):
6161
}
6262
manifest.get("entries").append(entry)
6363
payload = json.dumps(manifest)
64-
client_s3 = self._session.boto3_session.client("s3")
64+
client_s3 = self._session.boto3_session.client(service_name="s3", config=self._session.botocore_config)
6565
bucket, path = manifest_path.replace("s3://", "").split("/", 1)
6666
client_s3.put_object(Body=payload, Bucket=bucket, Key=path)
6767
return manifest

0 commit comments

Comments
 (0)