Something like this in `ensure_routes` where it collects the routes to purge
if purge_routes_exclude_pcx and r.get('VpcPeeringConnectionId')
and r['VpcPeeringConnectionId'].startswith('pcx-'):
continue
if purge_routes_exclude_igw and r.get('GatewayId') and r[
'GatewayId'].startswith('igw-'):
continue
if purge_routes_exclude_nat and r.get('GatewayId') and r[
'GatewayId'].startswith('nat-'):
continue
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bb0ec3c9-db55-4684-843c-9f69a864b832%40googlegroups.com.