wyBuild AWS S3 upload limitation

Hi,

Just trying out a trial of wyBuild and was blocked by the fact that the S3 upload mechanism does not allow me to provide an endpoint/service-url. To enable this with the AWSSDK TransferUtility that you use in wyBuild, you need to (roughly):

  • Create an AmazonS3Config (with ServiceUrl property set to the desired endpoint). 
  • Create an AmazonS3Client with the aforementioned config.
  • Create a TransferUtility and pass the S3Client to the constructor rather than using the (string,string) constructor

This will allow people to test with localstack, upload to AWS S3 buckets with non-standard endpoints, and also use S3 compatible API's such as BackBlaze B2, DigitalOcean Spaces etc. Would increase the value of this feature significantly!

I hope to see this in the next version that keeps getting mentioned and asked for on the forum, which is apparently still coming, eventually; although a slimmed down open source release that would allow the community to continue improving the software regularly would be even better.

Thanks for your work, Caelan