Skip to content

Commit

Permalink
Update serverless for aws deploy (#120)
Browse files Browse the repository at this point in the history
* changed nodejs version of deployment

* added policy option to solve error when updating CF template

* added new key to serverless
  • Loading branch information
cami-espinozaq authored Sep 13, 2024
1 parent 6ba27b6 commit de17628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ resources:
AccessControl: Private
PublicAccessBlockConfiguration:
BlockPublicPolicy: false
RestrictPublicBuckets: false
BucketName: ${self:custom.appBucketName}
WebsiteConfiguration:
IndexDocument: index.html
Expand All @@ -54,6 +55,7 @@ resources:
AccessControl: Private
PublicAccessBlockConfiguration:
BlockPublicPolicy: false
RestrictPublicBuckets: false
BucketName: ${self:custom.projectBucketName}
CorsConfiguration:
CorsRules:
Expand Down

0 comments on commit de17628

Please sign in to comment.