Our Terraform Code is unable to register our providers suddenly
Provider version - 3.51.0
We get the errors -
Original Error: Cannnot register providers: Microsoft.Cache, Microsoft.ContainerInstance, Microsoft.Storage, Microsoft.HDInsight, Microsoft.Web. Errors were: Cannot register provider Microsoft.Cache with Azure Resource Manager: resources.ProvidersClient#Register: Failure responding to request: StatusCode=500 – Original Error: autorest/azure: Service returned an error. Status=500 Code=“InternalServerError” Message="Encountered internal server error.
And similar ones for other providers.
Terraform sometimes retries and is able to register and work fine. Sometimes, it just fails .
Seems to happen intermittently since the last couple of days . ( 50 % failure rate approx) .