-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(ecr): make validateRepositoryName errors human readable #26715
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
The current errors say repository names must match a long regex. Make the errors explain why the name was not valid in an understandable way.
Use Case
Understanding why a repository name is not valid without deciphering regex.
Proposed Solution
Translate the regex into words in the error messages.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.91.0
Environment details (OS name and version, etc.)
Mac
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2