Closed captainhook closed 2 months ago
This will be fixed in the next release
fixed by #113
@matt-FFFFFF this is still incorrect.
Please re-open.
The correct restriction is: "Alphanumerics and hyphens. Start with letter. End with letter or digit. Can't contain consecutive hyphens."
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