Open TPXP opened 8 months ago
I encounted this issue that can be avoided by terraform state rm
& terraform apply
.
Indeed, state rm
will work around the issue, but I'd prefer the terraform module to realize this grant does not exist anymore automatically
Hi there,
Thank you for opening an issue. Please provide the following information:
Terraform Version
Upgrading to the latest terraform version does not fix my issue
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://pastebin.com/pt5V9ube
Panic Output
No panic
Expected Behavior
I expect the provider to silently ignore the resource removal since the ressource has already been removed when I dropped the table.
Actual Behavior
The module tried to remove the resource anyway and raised an error.
Steps to Reproduce
Start the database in a docker container and create the "test" table
Now, drop the "test" table and remove the "test" grant from the
main.tf
fileImportant Factoids
I was able to reproduce this on a docker instance as well as on RDS
References
None, I looked for the error message