-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't set s3api create-bucket LocationConstraint configuration option for us-east-1 region #19248
Don't set s3api create-bucket LocationConstraint configuration option for us-east-1 region #19248
Conversation
364a510
to
d3cb0f4
Compare
Need to run ci with secrets, not sure if that can be done in this branch or if a clone of this branch should be made in the Trino repo |
d3cb0f4
to
ae9c700
Compare
Update to #19060 |
/test-with-secrets sha=ae9c7007801f1e350c59125b6cc977af31f7693f |
|
||
# LocationConstraint configuration property is not allowed for us-east-1 AWS region | ||
if [ "${AWS_REGION}" == 'us-east-1' ]; then | ||
optBucketConfiguration=("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be an empty array, not an array with an empty string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/6401035079 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % Jan comment
Make the LocationConstraint create-bucket-configuration property optional depending on which aws region is used to run ci. LocationConstraint can't be set if the AWS_REGION used is us-east-1
ae9c700
to
d056382
Compare
Updated. PTAL @electrum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Make the
LocationConstraint
create-bucket-configuration property optional depending on which aws region is used for ci.LocationConstraint
can't be set if the AWS region used isus-east-1
. This doesn't affect Trino, but could affect forksAdditional context and related issues
Release notes
(X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: