Case sensitive bug with "azurerm_firewall" firewall_policy_id #23990
Labels
service/firewall
upstream/microsoft
Indicates that there's an upstream issue blocking this issue/PR
v/3.x
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
v1.4.2
AzureRM Provider Version
3.81.0
Affected Resource(s)/Data Source(s)
azurerm_firewall
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Nothing, it should match existing infrastructure if it followed Microsofts documentation regarding Azure resource id's: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
"Always perform a case-insensitive comparison of names."
Actual Behaviour
Case mismatch with "resourcegroups" vs "resourceGroups" for firewall_policy_id.
Steps to Reproduce
No response
Important Factoids
No response
References
From Microsoft documentation:
Resource and resource group names are case-insensitive unless specifically noted in the valid characters column.
When using various APIs to retrieve the name for a resource or resource group, the returned value may have different casing than what you originally specified for the name. The returned value may even display different case values than what is listed in the valid characters table.
Always perform a case-insensitive comparison of names.
ref: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
Similar issue:
#17090
The text was updated successfully, but these errors were encountered: