aleios-cloud / sls-test-tools

Custom Jest Assertions for Serverless integration testing.
MIT License
195 stars 20 forks source link

Can't run the tools in AWS CodeBuild #64

Open fabio-vitali-docebo opened 2 years ago

fabio-vitali-docebo commented 2 years ago

Hi, I'm trying to implement an integration test on one of my microservice. I can't successfully run sls-test-tools because of this error when executing EventBridge.init:

SharedIniFileCreds Error: Error - ENOENT: no such file or directory, open '/root/.aws/credentials'

Is it possible to skip the AWS config setup I see in general.ts util? I really don't need that because I'm running the tool during the CodeBuild build phase, assuming the CodeBuild service role...

Thanks!

fabio-vitali-docebo commented 2 years ago

any suggested workaround for this? thanks!