阅读背景:

AWS Lambda获取图像并上传到S3

来源:互联网 

I am working in a AWS Lambda function. I am successfully making an API call to the NASA APOD and getting back the values. I want to take the url for the image and download that image and then upload into S3. I am getting an error when I try to access the "test.jpg" image, "Error: EACCES: permission denied, open 'test.jpg'". If I move the S3bucket.putObject outside the http.request, I get data is equal to null. I know I am missing something simple. Thought?I am working in a AWS Lambda function. I am suc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: