bluesentry / bucket-antivirus-function

Serverless antivirus for cloud storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include a way to inject endpoint_url to boto3.

dmarkey opened this issue · comments

While using localstack, it would be nice to provide a way to inject en endpoint_url for the S3 and SNS clients so they can used in localstack.

Hi @dmarkey I'm not too familiar with the interworkings of LocalStack, but are you asking for a way to inject LocalStack's S3 and SNS endpoints into this project? We welcome PRs, so maybe a PR submission will better to explain the functionality you're asking for.

#167 Here's the gist.

Great thanks for that, I agree this functionality makes sense. Go ahead and tag me on that PR when you verified that it's working as expected. And verify it's also working as expected if those env variables aren't specified 😃