civo/terraform-provider-civo

unexpected state 'AVAILABLE', wanted target 'ACTIVE'. last error: %!s(<nil>)

dtomasi opened this issue · 4 comments

I got this error earlier this morning and I'm wondering if this is related to the terraform, the provider or CIVO API.

│ Error: error waiting for cluster (70e17037-fcf8-4be5-8a9d-xxx[82](https://gitlab.com/xxx/-/jobs/2227#L82)f0e79) to be created: unexpected state 'AVAILABLE', wanted target 'ACTIVE'. last error: %!s(<nil>)
│ 
│   with module.stack.civo_kubernetes_cluster.this,
│   on .terraform/modules/stack/main.tf line 37, in resource "civo_kubernetes_cluster" "this":
│   37: resource "civo_kubernetes_cluster" "this" {
│ 

I have seen this error as well - for me what happens is that I get this error, but the resource creation still happens and after a few more minutes I have a working cluster and the error goes away.

For me, it happened most recently last week using the Pulumi civo provider which depends on this Terraform provider.

Hi @dtomasi that errar was fixed in the last version, what version are you running??

I will close this one