Skip to content

Commit

Permalink
Update serverless for aws deploy (#119)
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
  • Loading branch information
cami-espinozaq authored Sep 13, 2024
1 parent 2cbc195 commit 6ba27b6
Show file tree
Hide file tree
Showing 3 changed files with 687 additions and 605 deletions.
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
2 changes: 2 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
Loading

0 comments on commit 6ba27b6

Please sign in to comment.