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:
parent
23357ab05b
commit
fe57135d24
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user