Skip to content

v2.7.0

Latest

Choose a tag to compare

@ms-henglu ms-henglu released this 30 Sep 02:21
· 10 commits to refs/heads/main since this release
ce5f59c

ENHANCEMENTS:

  • azapi_resource resource: Refactor move-state logic to centrally derive ARM IDs from data-plane IDs for selected azurerm resources.
  • Add more verified azapi examples.
  • Add documentation for choosing the resource type.
  • azapi_resource data source: Support ignore_not_found argument and exists computed field to optionally suppress 404 errors and expose resource existence.
  • azapi provider: Support for disabling instance discovery via new disable_instance_discovery provider argument and ARM_DISABLE_INSTANCE_DISCOVERY environment variable (GH-964).
  • azapi provider: Support for explicit custom environment configuration where endpoints must be manually specified (GH-964).
  • Update bicep types to ms-henglu/bicep-types-az@6b9ca69

BUG FIXES:

  • azapi_client_config data source: Fix a bug that specified subscription ID should not be overridden by Azure CLI default subscription ID.
  • azapi_resource resource: Support moving from azurerm_storage_container whose id is a data-plane URL by leveraging the resource_manager_id attribute (GH-955).
  • azapi_resource resource: Support moving from azurerm_key_vault_secret whose id is a data-plane URL by leveraging the resource_versionless_id attribute (GH-917).
  • azapi_resource resource: Support moving from azurerm_key_vault_key whose id is a data-plane URL by leveraging the resource_versionless_id attribute.
  • Fix panic in retry policy when HTTP response is nil (GH-985).