After in-place auto-migration from single to Flexible server, the Server admin login name moved to the Flexible one containing hyphen (-).
Now, we need to import the migrated Flexible server to the Terraform.
The validation is happening on the API side because I am not able to create the sample server with the hyphen:
az mysql flexible-server create --location westeurope --resource-group test-rg --name example1232453534653 --admin-user "with-hyphen"
(InvalidParameterValue) Invalid value given for parameter administratorLogin. Specify a valid parameter value.
Code: InvalidParameterValue
Message: Invalid value given for parameter administratorLogin. Specify a valid parameter value.
This issue is blocking:
hashicorp/terraform-provider-azurerm#26658
After in-place auto-migration from single to Flexible server, the
Server admin login namemoved to the Flexible one containing hyphen (-).Now, we need to import the migrated Flexible server to the Terraform.
The validation is happening on the API side because I am not able to create the sample server with the hyphen:
az mysql flexible-server create --location westeurope --resource-group test-rg --name example1232453534653 --admin-user "with-hyphen"This issue is blocking:
hashicorp/terraform-provider-azurerm#26658