2 Answers
- Newest
- Most votes
- Most comments
0
Hello,
When you create a lambda function you need to role to access resource/service. https://docs.aws.amazon.com/lambda/latest/dg/lambda-permissions.html
looks the error is from opensearch. if so, refer below. https://docs.aws.amazon.com/opensearch-service/latest/developerguide/search-example.html
Thanks.
answered a year ago
0
You can also follow the sample permission for granularity to a similar post earlier : https://repost.aws/questions/QU4p32v1OLTiWSARjS1fkdcg/lambda-role-not-authorized-to-perform-get-action-to-opensearch
You find find additional details here as well: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html#serverless-data-access-permissions
answered a year ago
Relevant content
- Accepted Answerasked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago