Regions of Google Cloud Storage are not supported in S3 extension

Description

When using the S3 extension version 2.0.0.110-SNAPSHOT in combination with the Google Cloud Storage buckets (S3 compatible), an error is returned:

could not find a matching region for [EUROPE-WEST1], valid region names are [us-gov-west-1,us-gov-east-1,us-east-1,us-east-2,us-west-1,us-west-2,eu-west-1,eu-west-2,eu-west-3,eu-central-1,eu-central-2,eu-north-1,eu-south-1,eu-south-2,ap-east-1,ap-south-1,ap-south-2,ap-southeast-1,ap-southeast-2,ap-southeast-3,ap-southeast-4,ap-northeast-1,ap-northeast-2,ap-northeast-3,sa-east-1,cn-north-1,cn-northwest-1,ca-central-1,me-central-1,me-south-1,af-south-1,us-iso-east-1,us-isob-east-1,us-iso-west-1]

The mentioned region EUROPE-WEST1 is retrieved by the S3 extension from the GCS bucket that is used in the project.

The following settings are used in the Application.cfc:

// GCS settings this.s3.host = "storage.googleapis.com"; this.s3.accesskeyid = server.system.environment["GCS_ACCESS_KEY"]; this.s3.awsSecretKey = server.system.environment["GCS_ACCESS_SECRET"]; // sets the default ACL this.s3.acl = "private";

Environment

None

Activity

Show:

Zac Spitzer 12 September 2023 at 12:39

I pinged over slack who confirmed it was working for him with google storage

Pothys - MitrahSoft 12 September 2023 at 07:32

I don't have an account on Google Cloud Storage & I checked with in slack too. Does LAS have any test accounts to work on this ticket? Can we discuss this further on Slack?

Michael Offner 11 September 2023 at 13:25

any update?

Michael Offner 16 August 2023 at 08:59

can you please give this new version a try, thanks

https://ext.lucee.org/s3-extension-2.0.1.2-SNAPSHOT.lex

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 2 June 2023 at 10:34
Updated 12 September 2023 at 12:39
Resolved 12 September 2023 at 12:39

Flag notifications