I have 2 lambdas, both inside my VPC. There are 4 subnets inside my VPC, 2 are public and 2 are private.
I have one lambda inside one private subnet and other one inside public subnet. When I am trying to call the lambda in private subnet from the one in public subnet, it times out. I am using the boto3 to make lambda to lambda call as given here.
However, I am able to call the lambda from public subnet to a new lambda created in other public subnet inside the same VPC.
There is no NAT attached to the public subnet. Why this might be happening?