1 Answer
- Newest
- Most votes
- Most comments
2
Hi, @karljohn_peoples.
Your Lambda function probably can't reach Cognito's public endpoint.
Add a route from the subnet of VPC Lambda to the NAT Gateway and change it so that it can go outbound to the Internet, and check if it works.
If that works, you need to either secure an internet outbound route or add a VPC endpoint.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thank you for your answer Iwasa, I just figured out that I could get all the data already actually from the event. I completely missed that.