Skip to content

Commit

Permalink
resource/alicloud_ess_scaling_group: prolong delete timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fuliu-zln authored and ChenHanZhang committed Feb 23, 2024
1 parent d86ce54 commit 3463e70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alicloud/resource_alicloud_ess_scaling_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,10 @@ func resourceAliyunEssScalingGroupDelete(d *schema.ResourceData, meta interface{
}
return WrapErrorf(err, DefaultErrorMsg, d.Id(), request.GetActionName(), AlibabaCloudSdkGoERROR)
}

addDebug(request.GetActionName(), raw, request.RpcRequest, request)

return WrapError(essService.WaitForEssScalingGroup(d.Id(), Deleted, DefaultTimeout))
return WrapError(essService.WaitForEssScalingGroup(d.Id(), Deleted, Timeout5Minute))
}

func buildAlicloudEssScalingGroupArgs(d *schema.ResourceData, meta interface{}) (map[string]interface{}, error) {
Expand Down

0 comments on commit 3463e70

Please sign in to comment.