# Getting VPC route info in lambda

**URL:** <https://forum.serverless.com/t/getting-vpc-route-info-in-lambda/6172>\
**Category:** Serverless Framework\
**Tags:** lambda\
**Created:** [October 18, 2018, 9:12am UTC](https://forum.serverless.com/t/getting-vpc-route-info-in-lambda/6172 "2018-10-18T09:12:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lambdaanatexis](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@lambdaanatexis](https://forum.serverless.com/u/lambdaanatexis)\
**Post date:** [October 18, 2018, 9:12am UTC](https://forum.serverless.com/t/getting-vpc-route-info-in-lambda/6172/1 "2018-10-18T09:12:33Z")

</div>

I’m trying to get the route information from all the VPCs but figuring out how to get at the information I need is really slowing me down.

What’s the difference between EC2.Client.describe\_route\_tables and vpc.get\_all\_route\_tables?

When I do:  
tables = ec2.describe\_route\_tables()  
The function call is actually suggested by the intellisense when I start typing but when I run it I get the error:  
“errorMessage”: “‘ec2.ServiceResource’ object has no attribute ‘describe\_route\_tables’”
