From 97949f716b0e3572c8b26aa663121df32df97ead Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 18 Oct 2022 14:51:19 +0800 Subject: [PATCH] remove acl --- lambdas/src/functions/hello/handler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lambdas/src/functions/hello/handler.ts b/lambdas/src/functions/hello/handler.ts index ed0a279..18d094e 100644 --- a/lambdas/src/functions/hello/handler.ts +++ b/lambdas/src/functions/hello/handler.ts @@ -33,8 +33,7 @@ const writeData = async () => { Key: 'packages.json', Body: buf, ContentEncoding: 'base64', - ContentType: 'application/json', - ACL: 'public-read' + ContentType: 'application/json' }; await s3.putObject(data).promise();