Review AzureRM v3.0 Behavioral Updates
mainThe following behavioral changes were introduced in version 3.0:
- Resource ID Validation: Resource IDs are validated at import time to ensure correct formats (e.g., preventing a VM Extension ID from being used where a VM ID is expected).
- Minimum TLS Version: The default
min_tls_versionfor resources supporting it is now1.2. - Managed Identity: The presence of an
identityblock now explicitly dictates whether a Managed Identity is assigned. Omitting the block or setting it tonullmeans no identity is assigned. - Application Gateway: Nested items are now treated as Sets instead of Lists (order no longer matters).
- Firewall: Nested items are now treated as Lists instead of Sets (order now matters).
- API Management: Terraform now removes the Default API and Products when creating a new instance.
- Log Analytics & Recovery Services: The
tagsfield has been removed from various resources. - Database Migration Service: The provider will now delete
azurerm_database_migration_serviceeven if running tasks exist. - IoT Hub: A Fallback Route is enabled by default on
azurerm_iothub. - MSSQL Database:
transparent_data_encryption_enabledis set totrueby default and cannot be disabled on non-DWSKUs.