-
Notifications
You must be signed in to change notification settings - Fork 377
Update s3 module_util validate_bucket_name to accept 3 character bucket name #802
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
Update s3 module_util validate_bucket_name to accept 3 character bucket name #802
Conversation
Add unit test cases for 2 and 3 character bucket names
alinabuzachis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbellanti Thank you. LGTM!
|
recheck |
|
Thank you for the contribution @jbellanti |
Backport to stable-2: 💚 backport PR created✅ Backport PR branch: Backported as #807 🤖 @patchback |
…et name (#802) Update s3 module_util validate_bucket_name to accept 3 character bucket name SUMMARY According to the S3 docs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html), the minimum bucket name is 3 characters. The current validate_bucket_name function fails for any bucket name less than 4 characters. This PR updates the check and adds unit test cases for minimum length. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3 ADDITIONAL INFORMATION To reproduce, attempt to perform an action on a bucket with a 3 character name. Reviewed-by: Alina Buzachis <None> Reviewed-by: Gonéri Le Bouder <[email protected]> (cherry picked from commit 93b8370)
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #808 🤖 @patchback |
…et name (#802) Update s3 module_util validate_bucket_name to accept 3 character bucket name SUMMARY According to the S3 docs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html), the minimum bucket name is 3 characters. The current validate_bucket_name function fails for any bucket name less than 4 characters. This PR updates the check and adds unit test cases for minimum length. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3 ADDITIONAL INFORMATION To reproduce, attempt to perform an action on a bucket with a 3 character name. Reviewed-by: Alina Buzachis <None> Reviewed-by: Gonéri Le Bouder <[email protected]> (cherry picked from commit 93b8370)
…et name (#802) (#808) [PR #802/93b83706 backport][stable-3] Update s3 module_util validate_bucket_name to accept 3 character bucket name This is a backport of PR #802 as merged into main (93b8370). SUMMARY According to the S3 docs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html), the minimum bucket name is 3 characters. The current validate_bucket_name function fails for any bucket name less than 4 characters. This PR updates the check and adds unit test cases for minimum length. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3 ADDITIONAL INFORMATION To reproduce, attempt to perform an action on a bucket with a 3 character name. Reviewed-by: Mark Chappell <None>
…et name (#802) (#807) [PR #802/93b83706 backport][stable-2] Update s3 module_util validate_bucket_name to accept 3 character bucket name This is a backport of PR #802 as merged into main (93b8370). SUMMARY According to the S3 docs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html), the minimum bucket name is 3 characters. The current validate_bucket_name function fails for any bucket name less than 4 characters. This PR updates the check and adds unit test cases for minimum length. ISSUE TYPE Bugfix Pull Request COMPONENT NAME s3 ADDITIONAL INFORMATION To reproduce, attempt to perform an action on a bucket with a 3 character name. Reviewed-by: Mark Chappell <None>
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@2b01e9c
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@2b01e9c
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@2b01e9c
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@2b01e9c
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None>
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None>
Route53: fix diff mode when state: absent SUMMARY Fix diff mode when state: absend ISSUE TYPE Bugfix Pull Request COMPONENT NAME route53 Reviewed-by: Felix Fontein <None> Reviewed-by: None <None>
SUMMARY
According to the S3 docs (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html), the minimum bucket name is 3 characters. The current
validate_bucket_namefunction fails for any bucket name less than 4 characters. This PR updates the check and adds unit test cases for minimum length.ISSUE TYPE
COMPONENT NAME
s3
ADDITIONAL INFORMATION
To reproduce, attempt to perform an action on a bucket with a 3 character name.