Skip to content

Latest commit

 

History

History
274 lines (202 loc) · 12.5 KB

CHANGELOG.md

File metadata and controls

274 lines (202 loc) · 12.5 KB

v1.13.1 (Unreleased)

ENHANCEMENTS:

  • azapi provider: Support enable_hcl_output_for_data_source field, which is used to enable the HCL output for the data source, the default value is false. This could resolve the following breaking changes in the previous release:
    • azapi_resource data 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 remove the jsondecode function when using the output field.
    • azapi_resource_list data 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 remove the jsondecode function when using the output field.

BUG FIXES:

  • Fix a bug when upgrading from previous provider azapi_resource resource will set tags for resources that don't have tags in the configuration.
  • Fix a bug that azapi_resource resource cannot handle tags with unknown values.
  • Fix a bug that null string value can't pass the schema validation.
  • Fix a bug that required fields which have null value can't pass the schema validation.
  • Fix a bug that schema validation fails to validate the float number in the body.
  • Fix a bug that client certificate authentication doesn't work.
  • Fix a bug that auxiliary tenant ids are not passed to the client.
  • Fix a bug that azapi_resource_action resource shows the plan diff when upgrading from the previous provider.

v1.13.0

BREAKING CHANGES:

  • 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.
  • 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.
  • 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.
  • azapi_resource data 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 remove the jsondecode function when using the output field.
  • azapi_resource_list data 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 remove the jsondecode function when using the output field.

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 https://github.com/ms-henglu/bicep-types-az/commit/48ce933ad85391b60ee02cf83e17c9b28d31a7b1

BUG FIXES:

  • Fix a bug that azapi_resource_action doesn't support 204 status code as a success response.

v1.12.1

BUG FIXES:

  • Fix a bug that azapi_resource removes some required fields in the body when using ignore_body_changes feature.

v1.12.0

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug that ignore_body_changes incorrectly removes tags.

NOTICE:

  • Provider field default_naming_prefix and default_naming_suffix are deprecated. It will not work in the next minor release and will be removed in the next major release. Please specify the naming prefix and suffix in the resource's name field instead.
  • The azapi_resource's removing_special_chars field is deprecated. It will not work in the next minor 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.
  • Defining the identity inside the body field is not recommended. In the next minor release, it will not sync the identity inside the body field to identity block. Please define the identity block instead.

v1.11.0

ENHANCEMENTS:

v1.10.0

ENHANCEMENTS:

  • azapi_resource data source: When creating Microsoft.Resources/subscriptions, resource_id is optional and defaults to the ID of the default subscription.
  • Add a new logger to record the traffic in a structured way.
  • azapi: Support endpoint block, which is used to configure the endpoints of the Azure Clouds.
  • azapi_resource_action resource: Support GET method.
  • Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/505b813ce50368156e3da1b86f07977b5a913be9

BUG FIXES:

  • Fix a bug that body is not set when import with an unrecognized api-version.
  • Fix a bug that deploy time constants are not removed from the request body when using azapi_update_resource resource.

v1.9.0

FEATURES:

  • New Data Source: azapi_resource_list
  • New Data Source: azapi_resource_id

ENHANCEMENTS:

  • azapi_resource resource/data source: When creating Microsoft.Resources/resourceGroups, parent_id is optional and defaults to the ID of the default subscription.
  • azapi_resource resource: Support ignore_body_changes field, which is used to ignore some properties when comparing the resource with its current state.
  • azapi_update_resource resource: Support ignore_body_changes field, which is used to ignore some properties when comparing the resource with its current state.
  • Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/1d8fec8184258cdf967b1288b156e01f7cbc8ca9

BUG FIXES:

  • Fix a bug that azapi_resource resource doesn't store the id in the state when error happens during the creation.
  • Fix a bug that errors from the polling API which don't follow the ARM LRO guidelines are not handled properly.

v1.8.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug that resource id for type Microsoft.Resources/providers is not parsed correctly.
  • Fix a bug that resource id for type Microsoft.Resources/tenants is not parsed correctly.

v1.7.0

FEATURES:

  • New Resource: azapi_data_plane_resource
  • azapi: Support use_msi and use_cli features.
  • azapi: Support auxiliary_tenant_ids field, which is required for multi-tenancy and cross-tenant scenarios.
  • azapi: Support custom_correlation_request_id field, which is used to specify the correlation request id.

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug that provider crashes when loading azure schema.

v1.6.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix the bug that the headers are not stored in the log.

v1.5.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

v1.4.0

FEATURES:

  • azapi: Support default_name, default_naming_prefix and defualt_naming_suffix features.

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug that when apply failed there still are some attributes stored in the state.
  • Fix a bug that schema validation requires redundant name fields both in resource and in body.

v1.3.0

FEATURES:

  • azapi: Support OIDC authentication.

ENHANCEMENTS:

BUG FIXES:

  • Fix a document typo.

v1.2.0

FEATURES:

  • azapi: Support client_certificate_password option.

ENHANCEMENTS:

BUG FIXES:

v1.1.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • azapi_resource_action: The output is not refreshed when body is changed.

v1.0.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

BREAKING CHANGES:

  • azapi_resource: ignore_missing_property's default value changed from false to true.
  • azapi_update_resource: ignore_missing_property's default value changed from false to true.

v0.6.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

v0.5.0

FEATURES:

  • New Data Source: azapi_resource_action
  • New Resource: azapi_resource_action

ENHANCEMENTS:

BUG FIXES:

  • DefaultAzureCredential authentication failed because empty clientId is set

v0.4.0

FEATURES:

ENHANCEMENTS:

  • azapi_resource: Supports default api-version when importing existing resource into terraform state.
  • azapi_resource: Supports locks which used to prevent creating/modifying/deleting resources at the same time.
  • azapi_update_resource: Supports locks which used to prevent creating/modifying/deleting resources at the same time.
  • azapi_resource data source: Supports configuring resource_id as an alternative way to configure name and parent_id.
  • azapi provider: Supports partner_id, disable_terraform_partner_id and disable_terraform_partner_id.
  • Update bicep types to https://github.com/Azure/bicep-types-az/commit/ea703e2aba0d1c024f33124ee2cd34bc0c6084b5

BUG FIXES:

v0.3.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

v0.2.1

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Improve error message for schema validation failure.
  • DefaultAzureCredential reads the client ID of a user-assigned managed identity.
  • Fix the modification is not working, when use azapi_update_resource to modify additional properties.
  • Fix crash when use azapi_update_resource on a resource whose id is null
  • Fix crash when the discriminated type is not in the embedded schema

v0.2.0

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix incorrect ID format in the imported azapi_resource resource.
  • Fix incorrect body content in the imported azapi_resource resource.

v0.1.1

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix document format.

v1.1.0

FEATURES:

  • New Data Source: azapi_resource
  • New Resource: azapi_resource
  • New Resource: azapi_update_resource
  • Provider feature: support default location and default tags

ENHANCEMENTS:

BUG FIXES: