-
Notifications
You must be signed in to change notification settings - Fork 26
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
[AVM Module Issue]: Key vault name validation incorrect #98
Comments
This will be fixed in the next release |
fixed by #113 |
@matt-FFFFFF this is still incorrect. Please re-open. The correct restriction is: However the current restriction only allows lowercase alphanumerics. As per documentation: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftkeyvault |
Fixed in v0.6.3 |
Check for previous/existing GitHub issues
Issue Type?
Bug
(Optional) Module Version
0.5.3
(Optional) Correlation Id
No response
Description
The current condition for key vault name is
condition = can(regex("^[a-z0-9-]{3,24}$", var.name))
which is not in line with Microsoft's guidance.As per official documentation
Start with letter. End with letter or digit. Can't contain consecutive hyphens.
source: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
The text was updated successfully, but these errors were encountered: