Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

S3: fix change in behavior in CreateBucketConfiguration#13427

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bentsku merged 1 commit intomainfromfix-s3-create-bucket
Nov 27, 2025

Conversation

@bentsku
Copy link
Contributor

@bentskubentsku commentedNov 27, 2025
edited
Loading

Motivation

We got a report that the newer 6.23 Terraform AWS provider version is failing with LocalStack:#13426

This is due to a change in what exceptions are being raised by AWS: previously, if the body contained aCreateBucketConfiguration XML tag, it also needed to have theLocationConstraint tag inside of it. This seems to have change in AWS, probably related to the new addition of theTags XML tag inside of it: seehttps://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html#AmazonS3-CreateBucket-request-Tags

When trying to revalidate the test against AWS, the exception was not raised anymore, so the logic of the provider has been updated.

There is still more to be done to make the6.23 AWS provider work with LocalStack, because it requires the new tagging endpoints that are not yet part of our stubs. Some follow-up work will still need to be done.

Changes

  • do not validate thatCreateBucketConfiguration must containLocationConstraint anymore
  • update the tests against AWS

Next up

Support theTags input value inCreateBucketConfiguration

Wolfsrudel reacted with eyes emoji
@bentskubentsku added this to the4.12 milestoneNov 27, 2025
@bentskubentsku self-assigned thisNov 27, 2025
@bentskubentsku added aws:s3Amazon Simple Storage Service semver: patchNon-breaking changes which can be included in patch releases docs: skipPull request does not require documentation changes notes: skipPull request does not have to be mentioned in the release notes labelsNov 27, 2025
@github-actions
Copy link

S3 Image Test Results (AMD64 / ARM64)

    2 files    2 suites   8m 10s ⏱️
  539 tests 487 ✅  52 💤 0 ❌
1 078 runs  974 ✅ 104 💤 0 ❌

Results for commite0f53fc.

@github-actions
Copy link

Test Results - Preflight, Unit

22 669 tests  ±0   20 901 ✅ ±0   6m 16s ⏱️ -3s
     1 suites ±0    1 768 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commite0f53fc. ± Comparison against base commit12934db.

@github-actions
Copy link

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 17s ⏱️ +3s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commite0f53fc. ± Comparison against base commit12934db.

@github-actions
Copy link

github-actionsbot commentedNov 27, 2025
edited
Loading

Test Results (amd64) - Integration, Bootstrap

    5 files  ±    0      5 suites  ±0   1h 42m 22s ⏱️ - 59m 11s
2 043 tests  - 3 306  1 877 ✅  - 2 934  166 💤  - 372  0 ❌ ±0 
2 049 runs   - 3 306  1 877 ✅  - 2 934  172 💤  - 372  0 ❌ ±0 

Results for commite0f53fc. ± Comparison against base commit12934db.

This pull requestremoves 3306 tests.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodbtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crudtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_bookstests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setuptests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_snstests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infratests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_tabletests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]…

♻️ This comment has been updated with latest results.

@github-actions
Copy link

LocalStack Community integration with Pro

    2 files  ±    0      2 suites  ±0   1h 20m 20s ⏱️ - 43m 31s
2 019 tests  - 2 956  1 849 ✅  - 2 748  170 💤  - 208  0 ❌ ±0 
2 021 runs   - 2 956  1 849 ✅  - 2 748  172 💤  - 208  0 ❌ ±0 

Results for commite0f53fc. ± Comparison against base commit12934db.

This pull requestremoves 2956 tests.
tests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_lambda_dynamodbtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_opensearch_crudtests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_search_bookstests.aws.scenario.bookstore.test_bookstore.TestBookstoreApplication ‑ test_setuptests.aws.scenario.kinesis_firehose.test_kinesis_firehose.TestKinesisFirehoseScenario ‑ test_kinesis_firehose_s3tests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_destination_snstests.aws.scenario.lambda_destination.test_lambda_destination_scenario.TestLambdaDestinationScenario ‑ test_infratests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_prefill_dynamodb_tabletests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input0-SUCCEEDED]tests.aws.scenario.loan_broker.test_loan_broker.TestLoanBrokerScenario ‑ test_stepfunctions_input_recipient_list[step_function_input1-SUCCEEDED]…

@bentskubentsku marked this pull request as ready for reviewNovember 27, 2025 13:11
Copy link
Contributor

@k-a-ilk-a-il left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice quick fix, LGTM 👍

bentsku reacted with heart emoji
@bentskubentsku merged commit9e9f65f intomainNov 27, 2025
100 of 101 checks passed
@bentskubentsku deleted the fix-s3-create-bucket branchNovember 27, 2025 16:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@k-a-ilk-a-ilk-a-il approved these changes

Assignees

@bentskubentsku

Labels

aws:s3Amazon Simple Storage Servicedocs: skipPull request does not require documentation changesnotes: skipPull request does not have to be mentioned in the release notessemver: patchNon-breaking changes which can be included in patch releases

Projects

None yet

Milestone

4.12

Development

Successfully merging this pull request may close these issues.

3 participants

@bentsku@k-a-il

[8]ページ先頭

©2009-2025 Movatter.jp