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
I'd like to get the default admin user account (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/1) of api management
Debug Output
Panic Output
Expected Behavior
I get the admin user's data
Actual Behavior
I got the following error:
Error: data.azurerm_api_management_user.admin: "user_id" may only contain alphanumeric characters and dashes up to 80 characters in length (this error comes from the ApiManagementUserName function in api_management validator)
I noticed that other users's id is 24 length digits, if I tried another user, it works as expected.
But I can't get the admin user's data by using "1" as user_id
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered:
Since this issue has been reported a long time ago and relates to the version of provider we no longer support - I'm going to close it. Please open a new updated bug report on current versions of terraform and provider if this is still relevant. Thank you.
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.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.11.14
provider.azurerm v1.32.0
Affected Resource(s)
azurerm_api_management_user
Terraform Configuration Files
I'd like to get the default admin user account (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/1) of api management
Debug Output
Panic Output
Expected Behavior
I get the admin user's data
Actual Behavior
I got the following error:
Error: data.azurerm_api_management_user.admin: "user_id" may only contain alphanumeric characters and dashes up to 80 characters in length (this error comes from the ApiManagementUserName function in api_management validator)
I noticed that other users's id is 24 length digits, if I tried another user, it works as expected.
But I can't get the admin user's data by using "1" as user_id
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: