terraform-provider-huaweicloud
terraform-provider-huaweicloud copied to clipboard
An error msg that is not easy to understand during the status check
Hi team,
When an unexpected state occurs, the provider throws an error message that is not easy to understand.
Mainly beceuse this unexpected status does not appear in the targetStatus array of the status check function.
In addition, these states are normal intermediate states, so no exception is thrown. In this case, the following response with a nil
error is generated. e.g.:
unexpected state 'Unregistering', wanted target 'DELETED'. last error: %!s(<nil>)
Currently, the following resources have found this problem:
Number | Resource Name | Unexpected status | CRUD | Has fixed |
---|---|---|---|---|
1 | huaweicloud_apig_instance | Unregistering | D | N |
2 | huaweicloud_sfs_access_rule | error | C | N |
3 | huaweicloud_cce_node | Synchronized | C | N |
4 | huaweicloud_vpnaas_site_connection_v2 | DELETING | D | N |
4 | huaweicloud_dms_kafka_instance | ERROR | D | N |
Note: Do not close this issue until all resources are repaired.
Best regards!