Lambda would be just as affected if you were running inside of a VPC [1] and you ignored the multiple warnings about setting up your lambda to run in only one AZ.
[1] technically your lambda never runs “inside your VPC” but it’s a colloquialism that everyone understand.