Skip to content

Commit 0a89a18

Browse files
authored
Fix: [AEA-0000] - add nag supression for aws supplied lambda (#265)
## Summary - Routine Change ### Details - aws supplied lambda does not use latest runtime so add a nag suppression to ignore the error
1 parent b87bea3 commit 0a89a18

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ export const nagSuppressions = (stack: Stack) => {
4242
]
4343
)
4444

45+
safeAddNagSuppression(
46+
stack,
47+
"/StatefulStack/AWS679f53fac002430cb0da5b7982bd2287/Resource",
48+
[
49+
{
50+
id: "AwsSolutions-L1",
51+
reason: "AWS supplied lambda does not use latest runtime"
52+
}
53+
]
54+
)
55+
4556
safeAddNagSuppressionGroup(
4657
stack,
4758
[

0 commit comments

Comments
 (0)