v2.0.1
·
244 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_resourceresources and data sources'outputfield defaults to the readonly fields when theresponse_export_valuesis not specified.azapi_resource_listdata source'soutputfield defaults to the response when theresponse_export_valuesis not specified.- Provider field
default_naming_prefixanddefault_naming_suffixare removed. Please specify the naming prefix and suffix in the resource'snamefield instead. - Provider field
enable_hcl_output_for_data_sourceis removed. Theoutputfield in the data source is always in HCL format. - The
azapi_resource'sremoving_special_charsfield is removed. Please specify thenamefield and remove the special characters in thenamefield instead. - The
ignore_body_changesfield is removed. Please use thelifecyle.ignore_changesto ignore some properties when comparing the resource with its current state. - The
bodyfield now only accepts an HCL object. Please remove thejsonencodefunction when using thebodyfield. - The
outputfield now only exports an HCL object. Please remove thejsondecodefunction when using theoutputfield. - The
use_msifield now defaults tofalse, please set it totrueexplicitly if you want to authenticate using Managed Service Identity.
ENHANCEMENTS:
azapi_data_plane_resourceresource: SupportMicrosoft.Purview/accounts/Scanning/managedvirtualnetworkstype.- Support a default retry policy that retries when GET request fails with 404 status code after resource creation.
azapiprovider: Supportdisable_default_outputfield, 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.