Azure / terraform-azurerm-avm-res-operationalinsights-workspace

Azure Log Analytics Workspace AVM Module
MIT License
11 stars 12 forks source link

[AVM Module Issue]: Resource naming condition incorrect #70

Closed captainhook closed 3 months ago

captainhook commented 3 months ago

Check for previous/existing GitHub issues

Issue Type?

Bug

(Optional) Module Version

0.3.2

(Optional) Correlation Id

No response

Description

The condition for Log Analytics Workspace name is incorrect - https://github.com/Azure/terraform-azurerm-avm-res-operationalinsights-workspace/blob/3f42a02c330bb73479fee2a4e893c4ff72b6c2aa/variables.tf#L13

The correct condition as per Microsoft documentation is: "4-63 chars, Alphanumerics and hyphens. Start and end with alphanumeric."

source: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftoperationalinsights

Thanks

microsoft-github-policy-service[bot] commented 3 months ago

[!IMPORTANT] The "Needs: Triage :mag:" label must be removed once the triage process is complete!

[!TIP] For additional guidance on how to triage this issue/PR, see the TF Issue Triage documentation.