taskcat
taskcat copied to clipboard
Taskcat fail to create S3 bucket due to bucket name longer than 63 chars
Describe the bug Taskcat adds a prefix and a suffix to the Quick Start name when creating an S3 bucket. This may lead to a name which is greater than 63 char and crosses the allowed limit for S3 bucket name. This can be avoided by performing a check on the generated S3 bucket name and trimming it to less than 63 chars, before creating a bucket.
To Reproduce Steps to reproduce the behavior:
- Have a Quick Start with name 60 chars long.
- Run taskcat with QSS3BucketName = auto_bucket.
Expected behavior
You will see the error in the taskcat logs
[0;30;43m[INFO ][0m :Creating bucket taskcat-qs-ci-quickstart-sample-testQuickstart-data-analysisIot-e1620478 in us-east-1
**Version (Please make sure you are running the latest version of taskcat)
- Taskcat Version (ex: [2018.817.210357]): 0.7.5