Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@ms-henglu ms-henglu released this 21 Oct 03:07
· 12 commits to refs/heads/main since this release

NOTES

  • Major Version: Version 2.0 of the AzAPI Provider is a major version - some behaviours have changed and some deprecated fields/resources have been removed - please refer to the 2.0 upgrade guide for more information.
  • When upgrading to v2.0 of the AzAPI Provider, we recommend upgrading to the latest version of Terraform Core (which can be found here).

BREAKING CHANGES

  • azapi_resource, azapi_update_resource resources and data sources' output field defaults to the readonly fields when the response_export_values is not specified.
  • azapi_resource_list data source's output field defaults to the response when the response_export_values is not specified.
  • Provider field default_naming_prefix and default_naming_suffix are removed. Please specify the naming prefix and suffix in the resource's name field instead.
  • Provider field enable_hcl_output_for_data_source is removed. The output field in the data source is always in HCL format.
  • The azapi_resource's removing_special_chars field is removed. Please specify the name field and remove the special characters in the name field instead.
  • The ignore_body_changes field is removed. Please use the lifecyle.ignore_changes to ignore some properties when comparing the resource with its current state.
  • The body field now only accepts an HCL object. Please remove the jsonencode function when using the body field.
  • The output field now only exports an HCL object. Please remove the jsondecode function when using the output field.
  • The use_msi field now defaults to false, please set it to true explicitly if you want to authenticate using Managed Service Identity.

ENHANCEMENTS:

  • azapi_data_plane_resource resource: Support Microsoft.Purview/accounts/Scanning/managedvirtualnetworks type.
  • Support a default retry policy that retries when GET request fails with 404 status code after resource creation.
  • azapi provider: Support disable_default_output field, which is used to disable the default output for the resources and data sources.
  • Update bicep types to ms-henglu/bicep-types-az@c3ff45d

BUG FIXES:

  • Fix a bug that non-standard LRO error responses are not handled properly.