Skip to content

Commit

Permalink
Merge pull request comfyanonymous#22 from goroshevsky/fix-aws-signature
Browse files Browse the repository at this point in the history
fix: Use v4 signature for s3 file uploads
  • Loading branch information
robballantyne authored Dec 21, 2023
2 parents 51b51f1 + 4994580 commit deefae2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/COPY_ROOT/opt/serverless/utils/s3utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def __init__(self, args):
connect_timeout=self.connect_timeout,
retries = dict(
max_attempts = self.connect_attempts
)
),
signature_version = 'v4'
)
self.session = boto3.session.Session(
aws_access_key_id = self.aws_access_key_id,
Expand Down

0 comments on commit deefae2

Please sign in to comment.