Open thenaturalist opened 2 years ago
Hey @thenaturalist π Can you supply the Terraform configuration as well? Seeing that might help look into this a bit more. I'm particularly interested in any dependencies -- implicit or explicit -- that might exist in the config.
I have a similar problem but with a Glue Table
β Error: Error deleting Glue Catalog Table: AccessDeniedException: Insufficient Lake Formation permission(s): Required Drop on glue_table_example
@GeorgeTerry Are you able to supply a sample configuration so that we may attempt to reproduce?
Hello! I have the same bug. Is there new information about it?
One database failed to delete The following database failed to delete: "xxxxx" Here is the most recent error message: Insufficient Lake Formation permission(s): Required Drop on xxxxx
I have the same issue , i tried to add dependency in "aws_lakeformation_permissions" for database so it will delete database before removing permissions but this is not working.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
The database is correctly deleted.
Actual Behavior
The Lake Formation permission granting the provider role
ALL
permissions on the glue database is deleted prior to the database itself. The above error is produced and theapply
fails.To circumvent this behavior, the permissions need to be re-added and both permissions and database deleted in conjunction again. Typically this works only on the 2nd or 3rd try.
Steps to Reproduce
ALL
privileges on the database in 1.Important Factoids
References
0000