Using Amazon S3 'autocreate => true' is not working #6289
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: external storage
feature: filesystem
feature: install and update
needs info
In attempting to figure out why primary storage for Amazon S3 is not working I stumbled upon a bug in the S3 connection code.
The Bug is located here on lines 98-100.
If a user wishes to create an S3 bucket via the
autocreate => true
option they must specify a region, however thecreateBucket
method run on line 98 requires the region to be passed if it is not being created in the default us-east-1 region.AWS Documentation Here
Simple fix is to add the following line:
'LocationConstraint' => empty($this->params['region']) ? 'us-east-1' : $this->params['region'],
There is zero documentation that I can find of how to get the source up and running with composer/bower/node, and since I'm a bit of a newb when it comes to large scale web projects like this, I don't really understand how to properly run the unit tests etc to verify that my code addition works as expected, so I'd rather just ask one of you guys to please fix.
The text was updated successfully, but these errors were encountered: