Skip to content

Commit

Permalink
Add permission to lambda to read secret
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jun 17, 2024
1 parent 50dcd07 commit 4e3ac08
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 @@ -35,6 +35,13 @@ Resources:
SecurityGroupIds:
- !ImportValue coderunner-LambdaSecurityGroupId
SubnetIds: !Split [ ',', !ImportValue coderunner-SubnetsId ]
Policies:
- Version: '2012-10-17'
Statement:
- Effect: Allow
Action:
- secretsmanager:GetSecretValue
Resource: '*'
Environment:
Variables:
PRISMA_CLI_BINARY_TARGETS: rhel-openssl-3.0.x
Expand Down

0 comments on commit 4e3ac08

Please sign in to comment.