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 IdentifierUtils unit tests #442

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

tvp-1
Copy link
Contributor

@tvp-1 tvp-1 commented Sep 3, 2024

Description of changes: We were checking a randomly generated string against a hardcoded value, so I changed it to test against the expected pattern instead. This is not used directly inside this repo at any point. This is a tool that can be used by downstream users, to generate user friendly resource names for named resources whenever the customer doesn't pass in an explicit name. It's supposed to be used in create scenarios to create a resource name when that's missing, so we shouldn't need the id to be consistently generated in value, only in format.

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

@tvp-1 tvp-1 merged commit f731767 into aws-cloudformation:master Sep 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants