v1.13.0
BREAKING CHANGES:
- Provider field
default_naming_prefixanddefault_naming_suffixare deprecated. It will not work in this release and will be removed in the next major release.
Please specify the naming prefix and suffix in the resource'snamefield instead. - The
azapi_resource'sremoving_special_charsfield is deprecated. It will not work in this release and will be removed in the next major release.
Please specify thenamefield and remove the special characters in thenamefield instead. - Defining the
identityinside thebodyfield is not recommended. In this release, it will not sync theidentityinside thebodyfield toidentityblock.
Please define theidentityblock instead. azapi_resourcedata source, azapi_resource_listdata source: Theoutput` field changes from JSON string to HCL object. Users can use access the fields in the output as an HCL object. Please follow the instructions to migrate:- Please remove the
jsondecodefunction when using theoutputfield from these data sources.
data "azapi_resource" "test" { type = "Microsoft.Automation/automationAccounts@2023-11-01" resource_id = azapi_resource.auto.id response_export_values = ["properties"] } output "o1" { // change jsondecode(data.azapi_resource.test.output).properties.automationHybridServiceUrl to value = data.azapi_resource.test.output.properties.automationHybridServiceUrl }
- Run
terraform planto preview the changes.
No changes. Your infrastructure matches the configuration.- Please remove the
ENHANCEMENTS:
azapi_resourceresource,azapi_update_resourceresource,azapi_resource_actionresource,azapi_data_plane_resourceresource,azapi_resource_actiondata source: Thebodyfield supports the dynamic schema and allows user to use the HCL object to specify the body.azapi_resourceresource,azapi_update_resourceresource,azapi_resource_actionresource,azapi_data_plane_resourceresource,azapi_resource_actiondata source,azapi_resourcedata source,azapi_resource_listdata source: Theoutputfield supports the dynamic schema and allows user to read the output as an HCL object.azapiprovider: Supportclient_id_file_pathandclient_secret_file_pathfields, which are used to specify the file path of the client id and client secret.azapi_data_plane_resourceresource: SupportMicrosoft.Synapse/workspaces/databasestype.azapi_resourceresource,azapi_update_resourceresource: Ignore the order of the elements in a list if the element has anamefield as identifier.- Update bicep types to ms-henglu/bicep-types-az@48ce933
BUG FIXES:
- Fix a bug that
azapi_resource_actiondoesn't support 204 status code as a success response.