@@ -212,8 +212,8 @@ func (r *ClusterResource) Create(
212
212
213
213
// Wait for the cluster to be created (or fail)
214
214
stateConf := & retry.StateChangeConf {
215
- Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING )},
216
- Target : []string {string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED )},
215
+ Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING ), string ( platform . ClusterStatusUPGRADEPENDING ) },
216
+ Target : []string {string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED ), string ( platform . ClusterStatusACCESSDENIED ) },
217
217
Refresh : ClusterResourceRefreshFunc (ctx , r .platformClient , r .organizationId , cluster .JSON200 .Id ),
218
218
Timeout : 3 * time .Hour ,
219
219
MinTimeout : 1 * time .Minute ,
@@ -364,8 +364,8 @@ func (r *ClusterResource) Update(
364
364
365
365
// Wait for the cluster to be updated (or fail)
366
366
stateConf := & retry.StateChangeConf {
367
- Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING )},
368
- Target : []string {string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED )},
367
+ Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING ), string ( platform . ClusterStatusUPGRADEPENDING ) },
368
+ Target : []string {string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED ), string ( platform . ClusterStatusACCESSDENIED ) },
369
369
Refresh : ClusterResourceRefreshFunc (ctx , r .platformClient , r .organizationId , cluster .JSON200 .Id ),
370
370
Timeout : 3 * time .Hour ,
371
371
MinTimeout : 1 * time .Minute ,
@@ -435,7 +435,7 @@ func (r *ClusterResource) Delete(
435
435
436
436
// Wait for the cluster to be deleted
437
437
stateConf := & retry.StateChangeConf {
438
- Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING ), string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED )},
438
+ Pending : []string {string (platform .ClusterStatusCREATING ), string (platform .ClusterStatusUPDATING ), string (platform .ClusterStatusCREATED ), string (platform .ClusterStatusUPDATEFAILED ), string (platform .ClusterStatusCREATEFAILED ), string ( platform . ClusterStatusUPGRADEPENDING ) },
439
439
Target : []string {"DELETED" },
440
440
Refresh : ClusterResourceRefreshFunc (ctx , r .platformClient , r .organizationId , data .Id .ValueString ()),
441
441
Timeout : 1 * time .Hour ,
0 commit comments