mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Add 'finishing-upgrade' state to rancher stack (#11019)
This commit is contained in:
parent
183b73d5e1
commit
59aff50223
@ -245,7 +245,7 @@ func resourceRancherStackUpdate(d *schema.ResourceData, meta interface{}) error
|
|||||||
}
|
}
|
||||||
|
|
||||||
stateConf = &resource.StateChangeConf{
|
stateConf = &resource.StateChangeConf{
|
||||||
Pending: []string{"active", "upgraded"},
|
Pending: []string{"active", "upgraded", "finishing-upgrade"},
|
||||||
Target: []string{"active"},
|
Target: []string{"active"},
|
||||||
Refresh: StackStateRefreshFunc(client, stack.Id),
|
Refresh: StackStateRefreshFunc(client, stack.Id),
|
||||||
Timeout: 10 * time.Minute,
|
Timeout: 10 * time.Minute,
|
||||||
|
Loading…
Reference in New Issue
Block a user