2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +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} apiName: offen-${self:provider.stage}
logs: logs:
restApi: true restApi: true
iamRoleStatements:
- Effect: 'Allow'
Action:
- secretsmanager:GetSecretValue
Resource: '*'
package: package:
individually: true individually: true
exclude:
- tests
plugins: plugins:
- serverless-domain-manager - serverless-domain-manager