Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessDenied exception when adding nori plugin to lambda from CustomResourceStack #9

Closed
ottlseo opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ottlseo
Copy link
Collaborator

ottlseo commented Oct 25, 2024

Problem

Received response status [FAILED] from custom resource. Message returned: Error
: An error occurred (AccessDeniedException) when calling the AssociatePackage o
peration: User: arn:aws:sts:::assumed-role/AdvancedRAG-CustomResour
ceStack-LambdaRole3A44B857-A7hVeQM1M3my/AdvancedRAG-CustomResourc-CustomResourc
eLambda42C1-UMoCMt1di8Cs is not authorized to perform: es:AssociatePackage on r
esource: arn:aws:es:us-west-2::domain/rag-hol-mydomain because no i
dentity-based policy allows the es:AssociatePackage action

Logs: /aws/lambda/AdvancedRAG-CustomResourc-CustomResourceLambda42C1-UMoCMt1di8
Cs

at invokeUserFunction (/var/task/framework.js:2:6)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async onEvent (/var/task/framework.js:1:369)
at async Runtime.handler (/var/task/cfn-response.js:1:1676) (RequestId: 0472957
c-42cc-4aa3-9bcd-024dd4931383)

Solution

#10

@ottlseo
Copy link
Collaborator Author

ottlseo commented Oct 26, 2024

Fixed
#10

@ottlseo ottlseo closed this as completed Oct 26, 2024
@ottlseo ottlseo added the bug Something isn't working label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant