svtslv / nestjs-s3

S3 module for Nest
78 stars 6 forks source link

Support for injecting multiple S3 clients across regions #39

Open mridang opened 10 months ago

mridang commented 10 months ago

I'm guessing this may already be supported and this may just need the docs to be tweaked but it it possible to inject a client tied to a specific region?

I have two different buckets in two different regions. This means the injected S3 client should also have that region specified. Any examples on how to do this? Thank you.