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 theresponse_export_values
is not specified.azapi_resource_list
data source'soutput
field defaults to the response when theresponse_export_values
is not specified.- Provider field
default_naming_prefix
anddefault_naming_suffix
are removed. Please specify the naming prefix and suffix in the resource'sname
field instead. - Provider field
enable_hcl_output_for_data_source
is removed. Theoutput
field in the data source is always in HCL format. - The
azapi_resource
'sremoving_special_chars
field is removed. Please specify thename
field and remove the special characters in thename
field instead. - The
ignore_body_changes
field is removed. Please use thelifecyle.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 thejsonencode
function when using thebody
field. - The
output
field now only exports an HCL object. Please remove thejsondecode
function when using theoutput
field. - The
use_msi
field now defaults tofalse
, please set it totrue
explicitly if you want to authenticate using Managed Service Identity.
ENHANCEMENTS:
azapi_data_plane_resource
resource: SupportMicrosoft.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: Supportdisable_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.