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

The ResourceNameRestriction rule incorrectly flags enumerated resource names #726

Open
markcowl opened this issue Jul 30, 2024 · 0 comments

Comments

@markcowl
Copy link
Member

Describe the bug
When a resource name is restricted to an enumerated set of names, there is no need for a pattern restriction - this rule should not report a violation for such cases, here is an example

To Reproduce
See the example above

Expected behavior
The rule should not show a violation if the name uses an enumerated set of possible names

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
n/a

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant