Skip to content

Commit ef03525

Browse files
committed
refactor
1 parent 569946b commit ef03525

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

.vscode/eps-assist-me.code-workspace

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
{
1616
"name": "packages/syncKnowledgeBaseFunction",
1717
"path": "../packages/syncKnowledgeBaseFunction"
18+
},
19+
{
20+
"name": "packages/indexWaiter",
21+
"path": "../packages/indexWaiter"
1822
}
1923
],
2024
"settings": {

packages/cdk/nagSuppressions.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,21 @@ export const nagSuppressions = (stack: Stack) => {
204204
}
205205
]
206206
)
207+
208+
// TO REMOVE
209+
safeAddNagSuppression(
210+
stack,
211+
"EpsAssistMeStack/VectorIndex/waiterFnManagedPolicy/Resource",
212+
[
213+
{
214+
id: "AwsSolutions-IAM5",
215+
reason: "Auto-generated CDK role requires wildcard permissions for S3 bucket notifications."
216+
}
217+
]
218+
)
219+
207220
})
221+
208222
}
209223

210224
const safeAddNagSuppression = (stack: Stack, path: string, suppressions: Array<NagPackSuppression>) => {

packages/cdk/resources/VectorIndex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class VectorIndex extends Construct {
100100
const waiterFn = new LambdaFunction(this, "SlackBotLambda", {
101101
stackName: props.stackName,
102102
functionName: `${props.stackName}-VectorIndexWaiter`,
103-
packageBasePath: "packages/cdk/resources/lambda",
103+
packageBasePath: "packages/indexWaiter",
104104
handler: "index_waiter.handler",
105105
logRetentionInDays: props.logRetentionInDays,
106106
logLevel: props.logLevel,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)