Skip to content

Commit

Permalink
Fix cdk-nag permisisons
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed Oct 7, 2024
1 parent f20da82 commit 2104ee6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class PieriandxPipelineManagerStack extends cdk.Stack {
getInformaticsjobAndReportStatusLambdaObj,
].forEach((lambdaFunction) => {
// Give the lambda permission to access the pieriandx apis
pieriandxTokenCollectionLambdaObj.grantInvoke(lambdaFunction);
pieriandxTokenCollectionLambdaObj.latestVersion.grantInvoke(lambdaFunction);
});

/*
Expand Down

0 comments on commit 2104ee6

Please sign in to comment.