Athena query: Insufficient Lake Formation permission(s): Illegal permission combination

1

I have configured a data lake using Lake Formation and Glue to populate and upsert the database and tables. This upsert includes assigning LF Tags to each table and column (for LF Tag-based governance). I'm trying to query the table using Athena, with an administrator level user account, plus Lake formation permissions on LF Tags, datalake administrator, database creator, and permissions to the s3 data location resource. However, when I query a

select count(*) from table

on Athena, I'm thrown this error:

Insufficient Lake Formation permission(s): Illegal permission combination (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 6280c520-8891-4461-8a7e-2e6bbb5a2fec; Proxy: null)
This query ran against the "raw" database, unless qualified by the query. Please post the error message on our forum  or contact customer support  with Query Id: 2f3f0e09-0cda-4e07-a390-80689a66c022

I've tried adding all possible permissions to access the data, but still can't run a query using Athena. Can someone spot what I'm missing out?

Thanks!

Denis

已提問 2 年前檢視次數 3831 次
1 個回答
0

Try unselecting IAM Access Control from Lake Formation Menu -> Settings or on database level (a checkbox) depending on your setup.

Considering your error it seems both types of permissions (IAM and Lakeformation) are used which is not allowed

Check also these resources: https://docs.aws.amazon.com/lake-formation/latest/dg/troubleshooting.html#troubleshooting-problem5 https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南