Open moritalous opened 3 months ago
Hello, I fixed it removing the account check there https://github.com/awslabs/agents-for-amazon-bedrock-blueprints/commit/2b762b14d4c121172a921c5b21c13861db8ddd81
but your solution seems actually better. Did you check if it addresses the problem consistently? I see other permissions errors based on timing: https://github.com/awslabs/agents-for-amazon-bedrock-blueprints/issues/22
Describe the bug
I try to deploy 03-agent-with-kb-and-guardrails
Cfn deploy is success, but Knowledge Base sync fails
Error messages in Sync history
I check service role of KnowledgeBase.
For comparison, we created a new knowledge base using the Management Console, and check it.
I found that there is a difference in the condition block
Create by agent blueprint
Create by management console
I change
aws:SourceAccount
toaws:ResourceAccount
, then retry is success.Is this a specified behavior?
Target aws --version aws-cli/2.17.32 Python/3.11.9 Linux/5.15.123.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 cdk version 2.152.0 (build faa7d79)
Host Ubuntu 22.04 on WSL2