aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure
173 stars 92 forks source link

azurerm_app_configuration doesnt remove "_" #98

Closed thesutex closed 3 years ago

thesutex commented 3 years ago

when running an input name through "azurecaf_name" for azurerm_appconfiguration, it doesnt remove "" and thus on create resource azure throws error

Error: "name" may only contain alphanumeric characters and dashes and must be between 5-50 chars

I see in state that the "_" is present after clean

"attributes": { "clean_input": true, "name": "app_config-dev", "passthrough": false, "prefixes": null, "random_length": 5, "random_seed": null, "resource_type": "azurerm_app_configuration", "resource_types": null, "result": "appcg-app_config-dev-xkawl",