I am getting the below error while creation of Azure appservices through terraform script (version: 0.13 and 1.11 both),
Error: The name "" used for the App Service needs to be globally unique and isn't available: Site names only allow alphanumeric characters and hyphens, cannot start or end in a hyphen, and must be less than 64 chars.
It was working properly earlier in the azure devops release pipeline, but now I am having issue in azure devops release pipeline as well as in my local machine with different name… which I have tested it as a unique name… I am able to create azure appservice from the portal by using same name… but not working through terraform script…
I have tried to execute same version with another local machine with another different name, but no luck.
Likewise; I have run the same terraform file several times in the past without issue, and as of today, I am unable to create an app service with it. The app service plan is created as expected, but the service itself fails to be created.
We have successfully run terraform apply and terraform destroy for this infrastructure in the past. This issue just came up today during the terraform apply.