Stream Uploading Files to S3 with Object Writer
The official AWS SDK provides an upload manager construct that allows you to upload to S3 from any io.Reader
. Using it is straightforward, that is until you need to create and upload a potentially large ZIP file.
The solution: use the upload manager with a pipe.
|
|
For convenience, I have wrapped this up in a Go package: github.com/hjr265/s3ow [ GitHub ].
comments powered by Disqus