Open shrirambalaji opened 4 years ago
Hi @Shriram-Balaji, this is a volunteer backed project, so a PR would be much appreciated. If not, adding this will likely take a while.
@jariz cool, I'll send in a PR soon :)
@jariz Currently, the plugin configuration does not allow passing configOptions directly to the AWS.S3 SDK. We can either, add a standalone s3ForcePathStyle
option and use that while initializing the SDK here or add a generic way to support other S3 Configuration Options as well.
I've made a PR, adding just s3ForcePathStyle
to the plugin configuration, but the latter option might be an enhancement worth adding later too.
Currently, in the gatsby-plugin-s3 configuration, I'm not finding a way to set the
s3ForcePathStyle
option. This is necessary in cases, where S3-Compliant Object Storage Services, which might not be AWS have this path style. Some examples could be Miniohttps://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#s3ForcePathStyle-property
Would be happy to send a PR if needed :)