You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: invalid value for active_directory.0.smb_server_name (The smb server name can not be longer than 10 characters in length.)
The smb_server_name regex is too restrictive and does not allow a computer name that includes any character other than digits or letters (capital and not capital) while instead is perfectly fine to use other characters in the portal.
The error message is also confusing as, in fact, the string length is below 10 in length.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform (and AzureRM Provider) Version:
Affected resource:
Configuration file example:
Expected Behaviour:
I would expect this resource to be created.
Actual Behaviour:
Error: invalid value for active_directory.0.smb_server_name (The smb server name can not be longer than 10 characters in length.)
The smb_server_name regex is too restrictive and does not allow a computer name that includes any character other than digits or letters (capital and not capital) while instead is perfectly fine to use other characters in the portal.
The error message is also confusing as, in fact, the string length is below 10 in length.
https://github.com/terraform-providers/terraform-provider-azurerm/blob/9d5d4dcc7ef9a350981565614b6b3d72874bbf2a/azurerm/internal/services/netapp/netapp_account_resource.go#L75
The text was updated successfully, but these errors were encountered: