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 Answer
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
EXPERT
answered 15 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions