Bucket naming needs validation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18
- Forks
- 0
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 1
Description
Bucket names cannot, for example, include underscores (see https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-s3-bucket-naming-requirements.html for full naming requirements).
The Bucket name? prompt allows an invalid name but the creation will fail after the Do you want to create a bucket with the above details? prompt with:
botocore.exceptions.ClientError: An error occurred (InvalidBucketName) when calling the CreateBucket operation: The specified bucket is not valid.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the _Bucket name?_ prompt and follow the bucket creation flow through the confirmation step. Compare validation with the AWS S3 bucket naming requirements linked in the issue; done means invalid names such as those containing underscores are rejected before creation, while valid names can proceed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100