Skip to content

Commit b3686f1

Browse files
Revert use of creds
1 parent 1f43bd3 commit b3686f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

localstack/services/lambda_/invocation/lambda_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def store_s3_bucket_archive(
577577
if archive_bucket == config.BUCKET_MARKER_LOCAL:
578578
usage.hotreload.increment()
579579
return create_hot_reloading_code(path=archive_key)
580-
s3_client: "S3Client" = connect_to(aws_access_key_id=account_id, region_name=region_name).s3
580+
s3_client: "S3Client" = connect_to().s3
581581
kwargs = {"VersionId": archive_version} if archive_version else {}
582582
archive_file = s3_client.get_object(Bucket=archive_bucket, Key=archive_key, **kwargs)[
583583
"Body"

0 commit comments

Comments
 (0)