C4W4A2: Error: creating Glue Catalog Database (de_c4w4a2_transform_db)

Hi,
I am facing issue with Capstone project 2. I tried 3 times now but it seems the resource Glue Catalog Database has not been deleted and I cannot create a new one.

I wanted to delete this database manually, but I cannot see this database in AWS Glue Catalog Database Console.

I also tried deleting this resource using command:
aws glue delete-database --name de_c4w4a2_transform_db

But it shows an insufficient permission error:

An error occurred (AccessDeniedException) when calling the DeleteDatabase operation: Insufficient Lake Formation permission(s): Required Drop on de_c4w4a2_transform_db

Can someone please help me resolve this issue? @esanina @Amir_Zare @jessica-dlai
Thank you

@Supriya_GadiPatil thank you for the message. I have refreshed your lab account, could you please try one more time.

Thank you @esanina

Now I am able to delete the database manually.
But I am facing a new error:

Thank you for your help.

I resolved the issue by running the terraform apply command module by module. I was able to complete the assignment successfully. Thank you for your help.

1 Like