aws-samples / aws-samples/aws-ai-intelligent-document-processing

Error for Notebook 04-idp-genai-advanced-rag.ipynb

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
244
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Launched via Sagemaker Studio
error occures when the following is executed

aoss_client = boto3.client('opensearchserverless')
security_policy = aoss_client.create_security_policy(

ClientError: An error occurred (AccessDeniedException) when calling the CreateSecurityPolicy operation: User: arn:aws:sts::xxxxxxxxxx:assumed-role/AmazonSageMaker-ExecutionRole-20240711T223604/SageMaker is not authorized to perform: aoss:CreateSecurityPolicy on resource: aoss:collection/idp-workshop because no identity-based policy allows the aoss:CreateSecurityPolicy action

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.