Skip to content

Commit

Permalink
Add UpdateSecret permissions to lambda role
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tom committed Oct 16, 2023
1 parent e95f50e commit bba6249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/src/resources/deploy-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export class DatabricksDeployLambda extends IDatabricksDeployLambda {

this.lambdaRole.addToPrincipalPolicy(new aws_iam.PolicyStatement({
effect: aws_iam.Effect.ALLOW,
actions: ["secretsmanager:CreateSecret", "secretsmanager:DeleteSecret"],
actions: ["secretsmanager:CreateSecret", "secretsmanager:DeleteSecret", "secretsmanager:UpdateSecret"],
resources: [
`arn:aws:secretsmanager:${this.props.region}:${this.props.accountId}:secret:/databricks/token/*`,
]
Expand Down

0 comments on commit bba6249

Please sign in to comment.