Skip to content

Commit

Permalink
added saving tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bilardi committed Feb 28, 2021
1 parent 4831f72 commit 23f03bb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions serverless/serverless.yml
Expand Up @@ -13,6 +13,12 @@ provider:
AUDIENCE: pandle-net.eu.auth0.com
JWKS_URI: https://pandle-net.eu.auth0.com/.well-known/jwks.json
TOKEN_ISSUER: https://pandle-net.eu.auth0.com/
stackTags:
Saving: ${self:custom.savingTags.saving.${self:provider.stage}, self:custom.savingTags.saving.default}
Delete: ${self:custom.savingTags.delete.${self:provider.stage}, self:custom.savingTags.delete.default}
tags:
Saving: ${self:custom.savingTags.saving.${self:provider.stage}, self:custom.savingTags.saving.default}
Delete: ${self:custom.savingTags.delete.${self:provider.stage}, self:custom.savingTags.delete.default}

plugins:
- serverless-webpack
Expand All @@ -23,6 +29,13 @@ custom:
babelOptions:
presets: [es2015, es2016, stage-0]
plugins: [transform-runtime]
savingTags:
saving:
production: Disabled
default: Enabled
delete:
production: '0 18 30 2 .' # for added safety, a non-existent day
default: '0 18 . . .' # for deleting at any evening

functions:
customAuthorizer:
Expand Down

0 comments on commit 23f03bb

Please sign in to comment.