- Newest
- Most votes
- Most comments
Hello,
Thank you for bringing the query.
From the error given above, there could be a possibility that the Lambda role is not mapped with the "all_access" backend roles in OpenSearch. [1] Could you please confirm the same? In case it is not, I would suggest you to try the following steps:
To find lambda execution role please navigate to path:
Lambda Console > Applications > serverlessrepo-AthenaElasticsearchConnector > Under resources, open ConnectorConfig > it will navigate to lambda function(then click on configuration) > permissions > under Execution role(you will see a role attached to function)
Now, to map lambda role to "all_access " backend roles in OpenSearch dashboard please navigate to below path:
Open search Dashboard > Menu > Security > Roles > click on ‘all_access’ role > Click on Mapped users > Manage mapping > Under Backend roles please add the lambda role ARN > map
Then try looking for the tables again on Athena console. Also, please make sure you are using the latest version of the connector.
In case this doesn’t help, I would recommend you to reach out to AWS Support Engineering via a support ticket to further troubleshoot the issue.
Thank you!
References: [1] https://opensearch.org/docs/latest/security/access-control/users-roles/
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 10 months ago
Thank you! this is the right answer!