How to test amazon AWS related functions locally


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.



To use AWS APIs you will need to get credentials - current process is outlined here

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.