aws c++ lambda times out when performing action on dynamo

I’ve created a sample project here: https://github.com/Lovett1991/aws-cpp-lambda/tree/aws-cpp-sdk-timeout

Trying to create a basic lambda to scan a dynamodb table but the lambda locks up. I’ve built the same code on my ubuntu machine and it works, however when trying to recreate in vagrant it builds fine, the lambda launches (and puts some logs) but when client -> scan is called nothing happens.

Any ideas as to what’s wrong would be greatly appreciated

Source: Windows Questions C++

LEAVE A COMMENT