BREAKING CHANGES:
- Provider field
default_naming_prefix
anddefault_naming_suffix
are 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'sname
field instead. - The
azapi_resource
'sremoving_special_chars
field is deprecated. It will not work in this release and will be removed in the next major release.
Please specify thename
field and remove the special characters in thename
field instead. - Defining the
identity
inside thebody
field is not recommended. In this release, it will not sync theidentity
inside thebody
field toidentity
block.
Please define theidentity
block instead. azapi_resource
data source, azapi_resource_listdata source: The
output` 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
jsondecode
function when using theoutput
field 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 plan
to preview the changes.
No changes. Your infrastructure matches the configuration.
- Please remove the
ENHANCEMENTS:
azapi_resource
resource,azapi_update_resource
resource,azapi_resource_action
resource,azapi_data_plane_resource
resource,azapi_resource_action
data source: Thebody
field supports the dynamic schema and allows user to use the HCL object to specify the body.azapi_resource
resource,azapi_update_resource
resource,azapi_resource_action
resource,azapi_data_plane_resource
resource,azapi_resource_action
data source,azapi_resource
data source,azapi_resource_list
data source: Theoutput
field supports the dynamic schema and allows user to read the output as an HCL object.azapi
provider: Supportclient_id_file_path
andclient_secret_file_path
fields, which are used to specify the file path of the client id and client secret.azapi_data_plane_resource
resource: SupportMicrosoft.Synapse/workspaces/databases
type.azapi_resource
resource,azapi_update_resource
resource: Ignore the order of the elements in a list if the element has aname
field as identifier.- Update bicep types to ms-henglu/bicep-types-az@48ce933
BUG FIXES:
- Fix a bug that
azapi_resource_action
doesn't support 204 status code as a success response.