-
Notifications
You must be signed in to change notification settings - Fork 674
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
ibm_pi_instance not failing on ERROR state #1879
Comments
Also please note that this is not a terraform issue. This is a power / cloud colo issue. |
Yes true, it's not a TF issue. It's a colo issue and there could be other such cases where instances errors out as we are seeing. |
Like other resources (VPC instances, soon ) we need to add Target for even Error or failed state
|
Add the keyword for failed or error based on the API response (keyword for error) |
I spoke to the power team. they did provide me with some input. I will submit another PR |
Fixes IBM-Cloud#1879 Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>
Fixes #1879 Signed-off-by: Yussuf Shaikh <yussuf.shaikh@ibm.com>
Terraform continue to create instance for 2 hours even when GUI shows instance in ERROR state.
Also, the instance create timeout value should be customizable.
Terraform Version
terraform version
Terraform v0.13.2
Affected Resource(s)
Please list the resources as a list, for example:
Expected Behavior
ibm_pi_instance should exit with error if instance status is ERROR.
Actual Behavior
ibm_pi_instance continously wait for Available, OK state till timeout.
Important Factoids
There was some maintanance at the CoLo side which turned the instance into ERROR state.
The text was updated successfully, but these errors were encountered: