S3Control: implement Tagging support for S3 Bucket#13435
Merged
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 36s ⏱️ - 2h 2m 7s Results for commit 7374569. ± Comparison against base commit 9e9f65f. This pull request removes 4963 and adds 3 tests. Note that renamed tests count towards both. |
Test Results (amd64) - Integration, Bootstrap 5 files ± 0 5 suites ±0 9m 1s ⏱️ - 2h 34m 1s Results for commit 7374569. ± Comparison against base commit 9e9f65f. This pull request removes 5313 and adds 3 tests. Note that renamed tests count towards both. |
k-a-il
approved these changes
Nov 28, 2025
Contributor
k-a-il
left a comment
There was a problem hiding this comment.
Great to see this parity gap to be fixed. I tested S3Control locally, and it works as expected 🚀
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Following the #13426 report and fixing the first reported issue, when trying the sample, I got a report from Terraform than the tagging operations for S3 were not implemented, but after having a better look I finally realized it was S3 Control:
I first got this issue:
Because the
skip_requesting_account_id = truewas set, but worked after removing it, so something to keep note of.This PR implements implements the 3 tagging operations
ListTagsForResource,TagResourceandUntagResourcefor S3 Buckets via S3 Control.This unblocks the
6.23AWS Terraform provider and it now works if you check out this PR.A follow up from this pr will be to implement
PutBucketAbacandGetBucketAbac.Another thing to note is that S3 Control is heavily tied and coupled to S3, and seems to be able to mutate S3 internal state in AWS without going through public APIs, which justify the uses of the
s3_storesdirectly here.Changes
Tests
To fully validate that the issue is fixed for the Terraform provider, you can try the sample given in the linked issue, just remove the
skip_requesting_account_id = trueline.