Skip to content

Conversation

@bentsku
Copy link
Contributor

@bentsku bentsku commented Nov 28, 2025

The new Terraform provider v6.23 has updated how they deal with tags for the S3 service. They now rely on the s3control service for the tagging operations.

The following PR localstack/localstack#13435 has added support for those tagging operations, but when @k-a-il tried to run it with terraform-local, she hit an issue because tflocal will override the s3control endpoint with http://localhost:4566 and prefix it with the account id of the request, leading to the non-resolvable http://000000000000.localhost:4566 endpoint.

We need to manually override it to a "subdomain compatible" endpoint, our usual localhost.localstack.cloud, but will respect the user configuration if they set it up to something else. I've also aligned the mwaa endpoint to that as well.

The new test shows pretty well the "new" / improved behavior.

@bentsku bentsku self-assigned this Nov 28, 2025
@bentsku bentsku added the bug Something isn't working label Nov 28, 2025
Copy link
Member

@cloutierMat cloutierMat left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for fixing 🚀

@bentsku bentsku merged commit c8f8d71 into main Dec 1, 2025
3 checks passed
@bentsku bentsku deleted the fix-s3-control-endpoint branch December 1, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants