Interview Prep/Azure/Azure DevOps, Bicep and Terraform

What major changes came with azurerm provider v4?

AdvancedConceptAzure DevOps, Bicep and Terraform
Answer
  • subscription_id is required in the provider block (or ARM_SUBSCRIPTION_ID).
  • Many enable_* booleans were renamed to *_enabled (for example enable_auto_scaling → auto_scaling_enabled in AKS node pools, enable_https_traffic_only → https_traffic_only_enabled on storage).
  • Resource providers are no longer auto-registered wholesale; resource_provider_registrations controls 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.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on Azure DevOps, Bicep and Terraform