catalyst / moodle-local_aws

A moodle plugin containing Amazon's SDK for PHP.
17 stars 30 forks source link

Update regions to support South african region + docs to do this in future easier #37

Open ebrahim989 opened 2 years ago

ebrahim989 commented 2 years ago

Hi There, I downloaded your S3 plugin for Moodle and available regions but I am not able to write.

Could this feature be added ?

Thank you.

brendanheywood commented 2 years ago

hi @ebrahim989 I'm not sure I properly understand the request, can you restate this a bit more clearly please?

I'm guessing you are after instructions like this:

https://github.com/catalyst/moodle-tool_objectfs#amazon-s3

ebrahim989 commented 2 years ago

Hi Brendan, Thank you for your prompt response. it is wonderfully kind of you.

My sincere apologies if i did not explain correctly.

So basically, we've used the plugin on our Moodle application. The first issue we found was that we could not use the South Africa region. We then used the SDK and could then be able to access that region and bucket. Once we completed that, we were unable to store files from moodle on to the bucket.

Are you saying this is a policy issue more than the plugin ? or is the plugin unable to write from moodle to S3 ?

Thank you.

brendanheywood commented 2 years ago

Ah cool, notes this needs to be updated:

https://github.com/catalyst/moodle-local_aws/blob/master/sdk/Aws/data/endpoints.json.php

from below. This might be getting an update as part of a bigger update, I'll check back shortly

https://github.com/aws/aws-sdk-php/blob/master/src/data/endpoints.json.php

ebrahim989 commented 2 years ago

Thank you Brendan,.

will you be adding support to South African region and allowing writes to S3 ?