cdk-real-drift 0.12.26 → 0.12.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -8338,7 +8338,8 @@ function routeDestination(route) {
8338
8338
  if (typeof route.DestinationPrefixListId === "string") return route.DestinationPrefixListId;
8339
8339
  }
8340
8340
  function isEnumerableRoute(route) {
8341
- return routeDestination(route) !== void 0 && route.Origin !== "CreateRouteTable" && route.Origin !== "EnableVgwRoutePropagation" && route.GatewayId !== "local";
8341
+ const isGatewayEndpointManaged = typeof route.DestinationPrefixListId === "string" && typeof route.GatewayId === "string" && route.GatewayId.startsWith("vpce-");
8342
+ return routeDestination(route) !== void 0 && route.Origin !== "CreateRouteTable" && route.Origin !== "EnableVgwRoutePropagation" && route.GatewayId !== "local" && !isGatewayEndpointManaged;
8342
8343
  }
8343
8344
  async function enumerateRouteTableChildren(ctx) {
8344
8345
  const { parent, desired, region } = ctx;