2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00

add iam role for accessing secrets manager

This commit is contained in:
Frederik Ring 2019-07-19 20:21:59 +02:00
parent 23357ab05b
commit fe57135d24

View File

@ -11,9 +11,16 @@ provider:
apiName: offen-${self:provider.stage}
logs:
restApi: true
iamRoleStatements:
- Effect: 'Allow'
Action:
- secretsmanager:GetSecretValue
Resource: '*'
package:
individually: true
exclude:
- tests
plugins:
- serverless-domain-manager