What major changes came with azurerm provider v4?
AdvancedConceptAzure DevOps, Bicep and Terraform
Answer
subscription_idis required in the provider block (orARM_SUBSCRIPTION_ID).- Many
enable_*booleans were renamed to*_enabled(for exampleenable_auto_scaling→auto_scaling_enabledin AKS node pools,enable_https_traffic_only→https_traffic_only_enabledon storage). - Resource providers are no longer auto-registered wholesale;
resource_provider_registrationscontrols it (core,extended,all,none). - Provider-defined functions (
provider::azurerm::parse_resource_id). - Deprecated resources and fields removed (for example AKS
azure_active_directory_role_based_access_control.managed).
Upgrade by pinning, reading the upgrade guide, and running terraform plan until it shows no unexpected replacements.
More on Azure DevOps, Bicep and Terraform
What services make up Azure DevOps?BeginnerWhat are branch policies in Azure Repos?BeginnerExplain the YAML pipeline structure in Azure Pipelines.BeginnerWhat are service connections and how should they authenticate?IntermediateWhat are environments in Azure Pipelines?IntermediateWhat deployment strategies do deployment jobs support?Intermediate