ghdna / athena-express

Athena-Express can simplify executing SQL queries in Amazon Athena AND fetching cleaned-up JSON results in the same synchronous or asynchronous request - well suited for web applications.
https://www.npmjs.com/package/athena-express
MIT License
179 stars 70 forks source link

Internet requirement #55

Closed taranjitGH closed 3 years ago

taranjitGH commented 3 years ago

Hi,

I was unable to get results while executing " athenaExpress.query(sqlQuery)" from within a private subnet (without having internet access) of AWS Lambda function. It seems internet accessibility is required for successful invocation. Correct ? As I was able to get the results when I enabled internet for that Lambda function.

If so, why internet is required to invoke athenaExpress.query(sqlQuery) ?

Regards, Taranjit

ghdna commented 3 years ago

thats because the AWS sdk we use behind the scenes for Athena and S3 requires internet connectivity