Cannot delete data source or knowledge base

0

Hi! I am trying to shut down my Amazon Bedrock, but the issue is that there is one knowledge base that I cannot delete. When I try to change data deletion policy of that knowledge base's data source from DELETE to RETAIN, I get the following error:

undefined The role with name AmazonBedrockExecutionRoleForKnowledgeBase_d2j7q cannot be found.

I may have deleted this policy prior to deleting the knowledge base. How can I resolve this issue and delete the knowledge base successfully?

Thanks in advance!

1 回答
0

Hello.

Why not try creating a service role with the same name before deleting it?
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console

profile picture
专家
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则