unexpected state 'AVAILABLE', wanted target 'ACTIVE'. last error: %!s(<nil>)
dtomasi opened this issue · 4 comments
dtomasi commented
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" {
│
guineveresaenger commented
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.
haardikdharma10 commented
@alejandrojnm can you take a look at this? I think this is coming from - https://github.com/civo/terraform-provider-civo/blob/master/civo/resource_kubernetes_cluster.go#L300
alejandrojnm commented
Hi @dtomasi that errar was fixed in the last version, what version are you running??
alejandrojnm commented
I will close this one