From de176289a31b7de185aec5df56a64a5f5787d150 Mon Sep 17 00:00:00 2001 From: Camila Espinoza <56554983+cami-espinozaq@users.noreply.github.com> Date: Fri, 13 Sep 2024 17:43:36 +0200 Subject: [PATCH] Update serverless for aws deploy (#120) * changed nodejs version of deployment * added policy option to solve error when updating CF template * added new key to serverless --- serverless.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serverless.yml b/serverless.yml index 39a6323e..f97aad56 100644 --- a/serverless.yml +++ b/serverless.yml @@ -43,6 +43,7 @@ resources: AccessControl: Private PublicAccessBlockConfiguration: BlockPublicPolicy: false + RestrictPublicBuckets: false BucketName: ${self:custom.appBucketName} WebsiteConfiguration: IndexDocument: index.html @@ -54,6 +55,7 @@ resources: AccessControl: Private PublicAccessBlockConfiguration: BlockPublicPolicy: false + RestrictPublicBuckets: false BucketName: ${self:custom.projectBucketName} CorsConfiguration: CorsRules: