github Azure/terraform-provider-azapi v1.13.0

latest releases: v2.0.1, v2.0.0-beta, v1.15.0...
6 months ago

BREAKING CHANGES:

  1. Provider field default_naming_prefix and default_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's name field instead.
  2. The azapi_resource's removing_special_chars field is deprecated. It will not work in this release and will be removed in the next major release.
    Please specify the name field and remove the special characters in the name field instead.
  3. Defining the identity inside the body field is not recommended. In this release, it will not sync the identity inside the body field to identity block.
    Please define the identity block instead.
  4. azapi_resource data 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:
    1. Please remove the jsondecode function when using the output 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
    }
    1. Run terraform plan to preview the changes.
    No changes. Your infrastructure matches the configuration.
    

ENHANCEMENTS:

  • azapi_resource resource, azapi_update_resource resource, azapi_resource_action resource, azapi_data_plane_resource resource, azapi_resource_action data source: The body 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: The output field supports the dynamic schema and allows user to read the output as an HCL object.
  • azapi provider: Support client_id_file_pathand client_secret_file_path fields, which are used to specify the file path of the client id and client secret.
  • azapi_data_plane_resource resource: Support Microsoft.Synapse/workspaces/databases type.
  • azapi_resource resource, azapi_update_resource resource: Ignore the order of the elements in a list if the element has a name 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.

Don't miss a new terraform-provider-azapi release

NewReleases is sending notifications on new releases.