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!

sigur
已提問 1 個月前檢視次數 536 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南