A developer encounters connectivity issues with an updated AWS Lambda function configured in a private VPC subnet, unable to access public APIs despite the APIs being accessible and an internet gateway attached to the VPC. How can the developer resolve this issue?