-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating SQL instance with same name as previously deleted instance hangs #5101
Comments
Hi @jovankricka, Error message captured from debug mode. { |
Hi @jovankricka, |
This GCloud doc is saying "You cannot reuse an instance name for up to a week after you have deleted an instance". if google is declaring it, then terraform shouldn't hang like this. Terraform could try for some time and then fail saying this is a probable cause and the developer should verify. I spent so many hours hoping for the CloudSQL to be provisioned and only now i learned it will not happen for next 7 days. |
Hi @syedrakib! I'm sorry you have run into this issue. It appears that the fix was released in version 3.3.0 of the provider. If you are using the 3.3.0 release or later and still seeing the issue, please open a new issue and we can take another look. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This issue was originally opened by @jovankricka as hashicorp/terraform#23594. It was migrated here as a result of the provider split. The original body of the issue is below.
When you try to create new SQL instance that has same name as some SQL instance that was previously created, terraform hangs with "Still creating...".
Terraform Version
Expected Behavior
If Google provider can not create SQL instance because there is a deleted one with same name, terraform apply should give an error and break and not hang forever on "Still creating...".
Actual Behavior
Terraform apply hangs forever on "Still creating...".
Steps to Reproduce
terraform apply
.The text was updated successfully, but these errors were encountered: