How to test amazon AWS related functions locally

#1

I’m developing an export data function which will write files to AWS S3. When I test this function locally, I ran into an error saying “ActionError: can’t access amazon AWS from this environment”.

How can I resolve it? Thanks.

0 Likes

#2

To use AWS APIs you will need to get credentials - current process is outlined here https://c3energy.atlassian.net/wiki/display/ENG/AWS+Test+Credentials

p.s. we are also working on emulating some of the AWS APIs with local implementation so the process should be less cumbersome in the future.

0 Likes