Skip to content

Commit ec852cd

Browse files
committed
Create slackBotManagedPolicy with wildcards initially
1 parent 301ae48 commit ec852cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cdk/resources/Functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class Functions extends Construct {
5757
}),
5858
new PolicyStatement({
5959
actions: ["bedrock:Retrieve", "bedrock:RetrieveAndGenerate"],
60-
resources: [`arn:aws:bedrock:${props.region}:${props.account}:knowledge-base/${props.knowledgeBaseId}`]
60+
resources: [`arn:aws:bedrock:${props.region}:${props.account}:knowledge-base/*`]
6161
}),
6262
new PolicyStatement({
6363
actions: ["ssm:GetParameter"],

0 commit comments

Comments
 (0)