Skip to content

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

@thomastomy5

Description

@thomastomy5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions