2 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 6 个月前
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
已回答 6 个月前