- Newest
- Most votes
- Most comments
To access the ARDL table through Athena, you'll need to follow a few steps to set up cross-account access. Here's a step-by-step guide to help you:
-
Role/Credentials: You should be using your regular IAM user or role that has the necessary permissions to access Athena and Lake Formation in your account. The fact that you don't see a role in the top right of the AWS console suggests you're logged in with your IAM user credentials, which is fine.
-
Setting up the Resource Share: a. First, you need to accept the resource share invitation from AWS Resource Access Manager (RAM) in your account. b. Go to the RAM console in the eu-west-1 region. c. Look for pending invitations related to the shared resources from account 764955733926. d. Accept the invitation for the resource share that includes the table you need access to.
-
Steps to get this working in Athena: a. After accepting the resource share, you need to create a resource link in your account pointing to the shared table. b. Go to the AWS Lake Formation console in eu-west-1. c. Navigate to the "Tables" section. d. You should see the shared table (ardl_sortation_prodeu__robin_auto_induct_mep_metrics). e. Select the table, then choose "Create resource link" from the Actions menu. f. Give the resource link a name (e.g., "ardl_sortation_prodeu__robin_auto_induct_mep_metrics_link"). g. Choose a database in your account where you want to create this link. h. Create the resource link.
i. Now, you or your account administrator needs to grant the necessary Lake Formation permissions on this resource link to your IAM user/role. j. In the Lake Formation console, go to the "Permissions" section. k. Grant yourself (or the appropriate IAM principal) the required permissions (like SELECT) on the resource link you just created.
l. Finally, you should be able to query the table in Athena:
- Open the Athena console.
- Select the database where you created the resource link.
- You should see the resource link as a table.
- You can now run queries on this table.
If you're still encountering issues after following these steps, it's possible there might be additional permissions or configurations needed on the data owner's side. In that case, you may need to contact the team managing the ARDL table to ensure all necessary permissions have been granted to your account.
Sources
Sharing a data lake using Lake Formation fine-grained access control - AWS Lake Formation
Setting up cross-Region table access - AWS Lake Formation
Data sharing using tag-based access control - AWS Lake Formation
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago

"Look for pending invitations"
Where should I look for Pending Invitations?