Lambda only supports Python 2.7 for the momment, and getting postgres drivers working is a nice royal pain in the ass..<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jkehler&#x2F;awslambda-psycopg2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jkehler&#x2F;awslambda-psycopg2</a><p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;aws&#x2F;comments&#x2F;3on09a&#x2F;using_psycopg2_in_lambda&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;aws&#x2F;comments&#x2F;3on09a&#x2F;using_psycopg2_...</a><p><a href="https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?messageID=680192" rel="nofollow">https:&#x2F;&#x2F;forums.aws.amazon.com&#x2F;thread.jspa?messageID=680192</a>