Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"scratch-storage": "2.3.3",
"scratch-svg-renderer": "1.0.0",
"selenium-webdriver": "4.0.0-alpha.1",
"serverless": "^1.83.3",
"serverless": "2.16.0",
"serverless-domain-manager": "^3.1.0",
"serverless-dotenv-plugin": "^2.0.1",
"serverless-offline": "^8.8.0",
Expand Down
4 changes: 4 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ provider:
region: eu-central-1
role: 'arn:aws:iam::#{AWS::AccountId}:role/hackingstudio/code4maus/hackingstudio-code4maus-functions'
stage: ${file(scripts/env.js):stage}
deploymentBucket:
skipPolicySetup: true
environment:
S3_BUCKET_PROJECTS: ${self:custom.projectBucketName}
ASSET_BASEURL: ${self:custom.baseUrl}
Expand Down Expand Up @@ -41,6 +43,7 @@ resources:
AccessControl: Private
PublicAccessBlockConfiguration:
BlockPublicPolicy: false
RestrictPublicBuckets: false
BucketName: ${self:custom.appBucketName}
WebsiteConfiguration:
IndexDocument: index.html
Expand All @@ -52,6 +55,7 @@ resources:
AccessControl: Private
PublicAccessBlockConfiguration:
BlockPublicPolicy: false
RestrictPublicBuckets: false
BucketName: ${self:custom.projectBucketName}
CorsConfiguration:
CorsRules:
Expand Down
Loading