For new azure subscription we have observed that few providers needs to be register or else script will try to register all the providers/services in Azure which are not required as well. Its best practice to make sure only the required services are registered.
Also, script is failing and giving the following error while registering the providers some times
"Getting error after running ./install.sh ""│ More information on the ""skip_provider_registration"" flag can be found here:
│ https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#skip_provider_registration
│
│ Original Error: Cannot register providers: Microsoft.AVS. Errors were: waiting for Subscription Provider (Subscription: ""d9908e94-6899-4ef6-8a14-5a185b3b7254""
│ Provider Name: ""Microsoft.AVS"") to be registered: context deadline exceeded
│
│ with provider[""registry.terraform.io/hashicorp/azurerm""],
│ on main.tf line 1, in provider ""azurerm"":
│ 1: provider ""azurerm"" {"
We can instruct the user to make sure the required services/providers are registered and update the terraform scripts to skip the registration of all the services. I have raised PR for the same
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_provider_registration
cc @gandham-santhosh @mohitga @vinukumar-vs @santhosh-tg @keshavprasadms
For new azure subscription we have observed that few providers needs to be register or else script will try to register all the providers/services in Azure which are not required as well. Its best practice to make sure only the required services are registered.
Also, script is failing and giving the following error while registering the providers some times
"Getting error after running ./install.sh ""│ More information on the ""skip_provider_registration"" flag can be found here:
│ https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#skip_provider_registration
│
│ Original Error: Cannot register providers: Microsoft.AVS. Errors were: waiting for Subscription Provider (Subscription: ""d9908e94-6899-4ef6-8a14-5a185b3b7254""
│ Provider Name: ""Microsoft.AVS"") to be registered: context deadline exceeded
│
│ with provider[""registry.terraform.io/hashicorp/azurerm""],
│ on main.tf line 1, in provider ""azurerm"":
│ 1: provider ""azurerm"" {"
We can instruct the user to make sure the required services/providers are registered and update the terraform scripts to skip the registration of all the services. I have raised PR for the same
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_provider_registration
cc @gandham-santhosh @mohitga @vinukumar-vs @santhosh-tg @keshavprasadms