Skip to content
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

fix(s3): add support for uppercase characters in legacy bucket names #31813

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

5d
Copy link
Member

@5d 5d commented Oct 18, 2024

Issue # (if applicable)

Closes #31731

Reason for this change

As @GavinZZ commented in issue #31731, the official AWS S3 documentation stated that uppercase characters were permitted in bucket names prior to March 1, 2018.

Description of changes

  • add support for uppercase characters in legacy bucket names

Description of how you validated changes

  • added new unit test cases and updated the integration test cases with legacy bucket names

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team October 18, 2024 21:18
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 labels Oct 18, 2024
@5d 5d force-pushed the 5d/fix-s3-legacy-bucket-name-validation branch from b9595de to 1cbef7b Compare October 18, 2024 21:31
@github-actions github-actions bot added bug This issue is a bug. effort/medium Medium work item – several days of effort labels Oct 18, 2024
@5d 5d marked this pull request as ready for review October 18, 2024 22:03
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Oct 19, 2024
Copy link
Contributor

@moelasmar moelasmar left a comment

Choose a reason for hiding this comment

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

in general it looks good, left some minor comment

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Oct 19, 2024
@mergify mergify bot dismissed moelasmar’s stale review October 19, 2024 00:34

Pull request has been modified.

moelasmar
moelasmar previously approved these changes Oct 19, 2024
@mergify mergify bot dismissed moelasmar’s stale review October 21, 2024 16:39

Pull request has been modified.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 5015d9f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Oct 21, 2024
Copy link
Contributor

mergify bot commented Oct 21, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 7bebf40 into main Oct 21, 2024
17 checks passed
@mergify mergify bot deleted the 5d/fix-s3-legacy-bucket-name-validation branch October 21, 2024 17:46
Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2024
@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK bug This issue is a bug. effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-s3: Unable to use Bucket.fromBucketName on legacy s3 bucket with Uppcase Letters in the name
3 participants