You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.8
on linux_amd64
Affected Resource(s)
google_sql_database_instance
google_sql_database
google_sql_user
Terraform Configuration
Debug Output
No response
Expected Behavior
After removing the cloud sql instance from GCP using the console, terraform should recreate the instance and the associated user & DB.
Actual Behavior
terraform plan
fails because of an error retrieving info about the cloud sql instance that was deleted.Output:
Steps to reproduce
terraform apply
terraform plan
Important Factoids
The workaround is to remove the user and db via
terraform state rm
.References
No response
The text was updated successfully, but these errors were encountered: