AWS Lake Formation: Insufficient Lake Formation permission(s) on s3://abc/
Asked Answered
C

3

10

I'm trying to setup a datalake from AWS Lake Formation Console.

I'm following the below resource to do the same: https://aws.amazon.com/blogs/big-data/integrating-aws-lake-formation-with-amazon-rds-for-sql-server/

But in second step while creating db, after entering db name and selecting s3 location, I'm getting

Insufficient Lake Formation permission(s) on s3:

I checked my permissions, I have admin role mapped to my account which allows all (*)

Can anyone help what's the actual issue!

Camenae answered 15/9, 2020 at 7:53 Comment(1)
If you own the abc bucket, please see reddit.com/r/aws/comments/tx0hhe/…Barracuda
S
10

As error states "Insufficient Lake Formation permission(s) on s3"

This implies you have to give your role/user the permission to access s3 bucket. There for first you have to go to "Lake Formation" => Under "Permissions" tab => Select "Data locations" and then register your S3 location.

After this step you can go and create your DB.

Samiel answered 6/1, 2021 at 19:31 Comment(0)
T
3

If you have declared some resource(IAM role / User) as lake formation administrator, you won't be able to create a Glue database from the lake formation console, Even though you have AWS account administrator access. It will work if you try creating using lake formation admin resource permissions.

Twice answered 1/4, 2021 at 8:13 Comment(0)
A
0

If you use SageMaker, when query Athena and get stuck with "AWS Lake Formation: Insufficient Lake Formation permission(s) on temp s3:// ... AWS Glue". You should check in "Datalake permission" in LakeFormation, grant the execution role with resource database "sagemaker_data_wrangler" with full permission. This is because when SageMaker do query Athena, it will store its temporary result in database "sagemaker_data_wrangler" of Glue, so it doesn't have enough permission for storing temporary data there.

Fore more information: https://github.com/awslabs/aws-data-wrangler/issues/677

Analogize answered 22/3, 2022 at 10:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.