robinrodricks / FluentStorage

A polycloud .NET cloud storage abstraction layer. Provides Blob storage (AWS S3, GCP, FTP, SFTP, Azure Blob/File/Event Hub/Data Lake) and Messaging (AWS SQS, Azure Queue/ServiceBus). Supports .NET 5+ and .NET Standard 2.0+. Pure C#.
MIT License
263 stars 33 forks source link

Fix AwsS3BlobStorage wants to create a new bucket on read #32

Closed AntMaster7 closed 1 year ago

AntMaster7 commented 1 year ago

Fixes

[Issue #27 https://github.com/robinrodricks/FluentStorage/issues/27)

Description

The AwsS3BlobStorage now checks if a bucket exists before trying to create one. This fixes the exception when no permission is given to execute a create bucket request.

robinrodricks commented 1 year ago

Perfect fix, thank you!

robinrodricks commented 1 year ago

Released.

https://www.nuget.org/packages/FluentStorage.AWS/5.2.2