Ensure routing tables for VPC peering are 'least access'
Description
Once a VPC peering connection is estalished, routing tables must be updated to establish any connections between the peered VPCs. These routes can be as specific as desired even peering a VPC to only a single host on the other side of the connection.
Remediation
Remove and add route table entries to ensure that the least number of subnets or hosts as is required to accomplish the purpose for peering are routable. Via CLI:
For each <route_table_id> containing routes non compliant with your routing policy (which grants more than desired least access”), delete the non compliant route: aws ec2 delete-route –route-table-id <