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 réponse
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
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions