You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "The additional CIDRs advertised through any enabled routing protocol (for example, BGP). The routing protocol will advertise routes with these CIDRs and VPC prefixes as route destinations.",
@@ -83,8 +89,9 @@ func dataSourceIBMIsVPNGatewayAdvertisedCidrsRead(context context.Context, d *sc
83
89
}
84
90
}
85
91
if!vpn_gateway_found {
86
-
log.Printf("[DEBUG] No vpn gateway found with given name %s", vpn_gateway_name)
87
-
returndiag.FromErr(fmt.Errorf("No vpn gateway found with given name %s", vpn_gateway_name))
92
+
tfErr:=flex.TerraformErrorf(err, fmt.Sprintf("No vpn gateway found with given name %s", vpn_gateway_name), "(Data) ibm_is_vpn_gateway_advertised_cidrs", "read")
0 commit comments