Skip to content

Commit 0f0b974

Browse files
chore: cdk deploy deps and syncing
1 parent bb73c02 commit 0f0b974

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/cdk/constructs/DelayResource.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ def handler(event, context):
9898

9999
// create the custom resource provider
100100
const provider = new Provider(this, "DelayProvider", {
101-
onEventHandler: delayFunction,
102-
logRetention: 14 // 14 days log retention
101+
onEventHandler: delayFunction
103102
})
104103

105104
// create the custom resource that triggers the delay

packages/cdk/nagSuppressions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ export const nagSuppressions = (stack: Stack) => {
161161
})
162162

163163
const logRetentionHandlers = stack.node.findAll().filter(node =>
164-
node.node.id.startsWith("LogRetention")
164+
node.node.id.startsWith("LogRetention") &&
165+
!node.node.path.includes("DelayProvider")
165166
)
166167

167168
logRetentionHandlers.forEach(handler => {

0 commit comments

Comments
 (0)