Skip to content

Commit 502096f

Browse files
committed
fix vpc bgp
1 parent c6ccd8a commit 502096f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tencentcloud/resource_tc_vpc_bandwidth_package.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ func resourceTencentCloudVpcBandwidthPackageRead(d *schema.ResourceData, meta in
176176

177177
if bandwidthPackage == nil {
178178
d.SetId("")
179-
return fmt.Errorf("resource `bandwidthPackage` %s does not exist", bandwidthPackageId)
179+
log.Printf("[WARN]%s resource `tencentcloud_vpc_bandwidth_package` [%s] not found, please check if it has been deleted.",
180+
logId, bandwidthPackageId,
181+
)
182+
return nil
180183
}
181184

182185
if bandwidthPackage.NetworkType != nil {

0 commit comments

Comments
 (0)