Skip to content

Commit

Permalink
Allow lambda to read cluster credentials secret
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jul 12, 2024
1 parent ea97b83 commit 1c2e72b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ Resources:
CodeUri:
Bucket: !ImportValue coderunner-BucketName
Key: !Ref CodeUri
Policies:
- Version: '2012-10-17'
Statement:
- Effect: Allow
Action:
- secretsmanager:GetSecretValue
Resource: '*'
Environment:
Variables:
NODE_ENV: prod
Expand Down

0 comments on commit 1c2e72b

Please sign in to comment.