Open andrewPoland opened 1 year ago
Hi there!
Upvoting this issue! We are May 2024 and hyphen and slug still not respected:
Here is the azurecaf_name resource:
resource "azurecaf_name" "application_gateway_waf_policy" {
clean_input = true
id = "tnsobscmuhxkpfcj"
name = "weu-tst-sta"
passthrough = false
random_length = 0
resource_type = "azurerm_web_application_firewall_policy"
result = "wafwweutststa001"
results = {}
separator = "-"
suffixes = [
"001",
]
use_slug = true
}
The result not matching with expectation:
Thanks!
I found the implementation for the web application firewall policy is removing hyphens despite them being a valid character.
Looking at #106 it seems like the name should have had the following
The slug chosen also doesn't match the abbreviation example given in caf best practices list
suggested breaking change below.