diff --git a/alicloud/resource_alicloud_nlb_listener.go b/alicloud/resource_alicloud_nlb_listener.go index cad85457d631..1748734e3872 100644 --- a/alicloud/resource_alicloud_nlb_listener.go +++ b/alicloud/resource_alicloud_nlb_listener.go @@ -529,6 +529,9 @@ func resourceAliCloudNlbListenerDelete(d *schema.ResourceData, meta interface{}) }) if err != nil { + if IsExpectedErrors(err, []string{"ResourceNotFound.listener"}) { + return nil + } return WrapErrorf(err, DefaultErrorMsg, d.Id(), action, AlibabaCloudSdkGoERROR) }