Fetching VPC details using AWS Lambda

Often in an Enterprise environment, it’s important to have visibility about VPCs and associated components like NACLs, Route Tables etc. This sort of details can be very useful while performing operations like updating Route Tables or NACLs.

For this demo, we have 2 VPCs in North Virginia region. .

Each VPC has a Public and a Private subnet.Private VPC in VPC_US_EAST_1 VPC doesn’t have a NAT gateway or NAT instance associated with it while Private VPC in VPC2_US_EAST_1 VPC has a NAT gateway attached. Each subnet has a different Route Table…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store