Skip to content

Commit

Permalink
Add the UPGRADING state to the cluster creation (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrojnm committed Dec 14, 2022
1 parent 415bd78 commit 18d8e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civo/resource_kubernetes_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func resourceKubernetesClusterCreate(ctx context.Context, d *schema.ResourceData
d.SetId(resp.ID)

createStateConf := &resource.StateChangeConf{
Pending: []string{"BUILDING", "AVAILABLE"},
Pending: []string{"BUILDING", "AVAILABLE", "UPGRADING"},
Target: []string{"ACTIVE"},
Refresh: func() (interface{}, string, error) {
resp, err := apiClient.GetKubernetesCluster(d.Id())
Expand Down

0 comments on commit 18d8e0f

Please sign in to comment.