From c7f981e60fbbd3624553b0fcbac632323672c268 Mon Sep 17 00:00:00 2001 From: MrWolong Date: Wed, 25 Dec 2024 16:33:43 +0800 Subject: [PATCH] resource/alicloud_cen_transit_router_multicast_domain_member: Added retry strategy for error code Operation.Blocking --- ...ource_alicloud_cen_transit_router_multicast_domain_member.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alicloud/resource_alicloud_cen_transit_router_multicast_domain_member.go b/alicloud/resource_alicloud_cen_transit_router_multicast_domain_member.go index 62151713b5c8..b2fe811ee153 100644 --- a/alicloud/resource_alicloud_cen_transit_router_multicast_domain_member.go +++ b/alicloud/resource_alicloud_cen_transit_router_multicast_domain_member.go @@ -90,7 +90,7 @@ func resourceAliCloudCenTransitRouterMulticastDomainMemberCreate(d *schema.Resou err = resource.Retry(client.GetRetryTimeout(d.Timeout(schema.TimeoutCreate)), func() *resource.RetryError { response, err = conn.DoRequest(StringPointer(action), nil, StringPointer("POST"), StringPointer("2017-09-12"), StringPointer("AK"), nil, request, &runtime) if err != nil { - if NeedRetry(err) { + if IsExpectedErrors(err, []string{"Operation.Blocking"}) || NeedRetry(err) { wait() return resource.RetryableError(err) }