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

Bicep Linter - Validate Microsoft.Authorization/policyAssignments Name length #3042

Closed
lr90 opened this issue Jun 4, 2021 · 1 comment
Closed
Labels
enhancement New feature or request Needs: Triage 🔍

Comments

@lr90
Copy link
Contributor

lr90 commented Jun 4, 2021

Is your feature request related to a problem? Please describe.
Bicep/ARM does not restrict the name for resources of type Microsoft.Authorization/policyAssignments however what-ifs or deployments fail if the length is greater than 24 chars. Of course one option is to use guids but I find a readable name preferable though happy to be convinced otherwise.

Describe the solution you'd like
If the linter could highlight this as an Error or Warning while I'm still in the editor it would save making a PR only to have if fail during the pipeline.

@lr90 lr90 added the enhancement New feature or request label Jun 4, 2021
@ghost ghost added the Needs: Triage 🔍 label Jun 4, 2021
@alex-frankel
Copy link
Collaborator

I think this is a dup of #1679. IMO, this should be a part of the core type definitions and evaluated by the core type system instead of the linter.

@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

2 participants