Athena Database fails to destroy when resources do not exist #20037
Labels
bug
Addresses a defect in current functionality.
service/athena
Issues and PRs that pertain to the athena service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
parent ticket: #19932
Problem statement. When an aws_athena_database resource references a resource that no longer exists(has been destroyed outside of terraform), a terraform destroy will fail with one of the following errors:
Error: Athena not found database: 664df302_mydb, query result: 020dac9f_myquery
Error: reason: FAILED: SemanticException [Error 10072]: Database does not exist: c558ee8f_mydb
Expected behavior - A warning is displayed and the destroy continues to remove the resource as normal.
The text was updated successfully, but these errors were encountered: