Skip to content

Conversation

@bentsku
Copy link
Contributor

@bentsku bentsku commented Nov 27, 2025

Motivation

When working on #13427, it came to light that S3 added supporting for tagging Bucket at creation time. This PR implements this feature and tests for it.

See the related documentation: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html#AmazonS3-CreateBucket-request-Tags

Funny enough, it seems there is missing validation on AWS side for duplicate keys, and it returns a 500 internal error, so this snapshot verification is skipped for now.

Changes

  • add support for the Tags input for CreateBucket, checks idempotency and validation
  • add tests for it

@bentsku bentsku added this to the 4.12 milestone Nov 27, 2025
@bentsku bentsku self-assigned this Nov 27, 2025
@bentsku bentsku added aws:s3 Amazon Simple Storage Service semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Nov 27, 2025
@github-actions
Copy link

github-actions bot commented Nov 27, 2025

S3 Image Test Results (AMD64 / ARM64)

    2 files  ±0    2 suites  ±0   8m 0s ⏱️ -1s
  543 tests +4  491 ✅ +4   52 💤 ±0  0 ❌ ±0 
1 086 runs  +8  982 ✅ +8  104 💤 ±0  0 ❌ ±0 

Results for commit d46542a. ± Comparison against base commit 9e9f65f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Test Results - Preflight, Unit

22 669 tests  ±0   20 901 ✅ ±0   6m 33s ⏱️ +4s
     1 suites ±0    1 768 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit d46542a. ± Comparison against base commit 9e9f65f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Test Results (amd64) - Acceptance

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

Results for commit d46542a.

♻️ This comment has been updated with latest results.

Base automatically changed from fix-s3-create-bucket to main November 27, 2025 16:19
@bentsku bentsku force-pushed the support-s3-create-bucket-tags branch from bceefe0 to d46542a Compare November 27, 2025 16:20
@github-actions
Copy link

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   1h 41m 1s ⏱️
2 047 tests 1 881 ✅ 166 💤 0 ❌
2 053 runs  1 881 ✅ 172 💤 0 ❌

Results for commit d46542a.

@bentsku bentsku marked this pull request as ready for review November 27, 2025 17:07
@bentsku bentsku requested a review from k-a-il as a code owner November 27, 2025 17:07
@github-actions
Copy link

LocalStack Community integration with Pro

    2 files      2 suites   1h 19m 26s ⏱️
2 023 tests 1 853 ✅ 170 💤 0 ❌
2 025 runs  1 853 ✅ 172 💤 0 ❌

Results for commit d46542a.

Copy link
Contributor

@k-a-il k-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.

Looks good, especially thorough integration tests 👍

@bentsku bentsku merged commit c5aa22c into main Nov 28, 2025
50 checks passed
@bentsku bentsku deleted the support-s3-create-bucket-tags branch November 28, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws:s3 Amazon Simple Storage Service docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants