2 Answers
- Newest
- Most votes
- Most comments
1
The default route is no different to any other route - there's no special marker for it. Look for a route that has a DestinationCidrBlock
of 0.0.0.0/0
- that's the default route.
0
You can use that boto3 command. You can further use this filter to only grep default route
route.destination-cidr-block
Accept answer if helped.
answered a year ago
Relevant content
- Accepted Answerasked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago