Skip to content

Commit a310641

Browse files
author
Bob Strahan
committed
rename DOCUMENTBEDROCKKB to DOCUMENTKB to force KB recreate with new chunking params
1 parent 195360c commit a310641

File tree

2 files changed

+4
-112
lines changed

2 files changed

+4
-112
lines changed

pr-summary.md

Lines changed: 0 additions & 108 deletions
This file was deleted.

template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ Resources:
813813
PermissionsBoundaryArn: !Ref PermissionsBoundaryArn
814814

815815

816-
DOCUMENTBEDROCKKB:
816+
DOCUMENTKB:
817817
DependsOn:
818818
- IsStacknameLengthOK
819819
Type: AWS::CloudFormation::Stack
@@ -5996,7 +5996,7 @@ Resources:
59965996
LOG_LEVEL: !Ref LogLevel
59975997
KB_ID: !If
59985998
- ShouldUseDocumentKnowledgeBase
5999-
- !GetAtt DOCUMENTBEDROCKKB.Outputs.KnowledgeBaseID
5999+
- !GetAtt DOCUMENTKB.Outputs.KnowledgeBaseID
60006000
- ""
60016001
KB_ACCOUNT_ID: !Ref AWS::AccountId
60026002
KB_REGION: !Ref AWS::Region
@@ -6012,7 +6012,7 @@ Resources:
60126012
Action:
60136013
- bedrock:Retrieve
60146014
- bedrock:RetrieveAndGenerate
6015-
Resource: !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:${AWS::AccountId}:knowledge-base/${DOCUMENTBEDROCKKB.Outputs.KnowledgeBaseID}"
6015+
Resource: !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:${AWS::AccountId}:knowledge-base/${DOCUMENTKB.Outputs.KnowledgeBaseID}"
60166016
- !Ref AWS::NoValue
60176017
- Effect: Allow
60186018
Action:
@@ -6117,7 +6117,7 @@ Resources:
61176117
Action:
61186118
- bedrock:Retrieve
61196119
- bedrock:RetrieveAndGenerate
6120-
Resource: !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:${AWS::AccountId}:knowledge-base/${DOCUMENTBEDROCKKB.Outputs.KnowledgeBaseID}"
6120+
Resource: !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:${AWS::AccountId}:knowledge-base/${DOCUMENTKB.Outputs.KnowledgeBaseID}"
61216121
- !Ref AWS::NoValue
61226122
- Effect: Allow
61236123
Action:

0 commit comments

Comments
 (0)