Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Terraform azapi to v2 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2024

This PR contains the following updates:

Package Type Update Change
azapi (source) required_provider major 1.12.1 -> 2.2.0

Release Notes

Azure/terraform-provider-azapi (azapi)

v2.2.0

Compare Source

ENHANCEMENTS:

  • azapi_resource resource: Improved 403 handling for management group resources to include child resources
  • Update bicep types to ms-henglu/bicep-types-az@4da2e19

BUG FIXES:

  • Fix a bug that the provider produced inconsistent result after apply when default output feature is enabled.
    Notice: Terraform will detect the output field's changes made outside of Terraform since the last "terraform apply". You can run terraform refresh to update the state file with the latest values.
  • Fix a bug that the GET after PUT retry timeout doesn't work properly when the environment variable is set.

v2.1.0

Compare Source

FEATURES:

  • azapi_resource resource: Support resource move operation, it allows moving resources from azurerm provider.

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug when body contains an unknown float number, the provider will crash.
  • Fix the crash that occurs when no tenant ID is configured in Azure CLI.
  • Fix a bug that using multiple locks can result in a deadlock.

v2.0.1

Compare Source

BREAKING CHANGES:

  • azapi_resource, azapi_update_resource resources and data sources' output field defaults to the readonly fields when the response_export_values is not specified.
  • azapi_resource_list data source's output field defaults to the response when the response_export_values is not specified.

ENHANCEMENTS:

  • azapi_data_plane_resource resource: Support Microsoft.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: Support disable_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.

v1.15.0

Compare Source

ENHANCEMENTS:

BUG FIXES:

  • Fix a bug that differences in a list of objects are not detected correctly.
  • Fix a bug that azapi_update_resource produced inconsistent results when the case of the resource_id and type fields are different.
  • Fix a bug that provider will crash when there's no default subscription configured in azure cli.
  • Fix a bug that resource definitions are not correctly cached.

v1.14.0

Compare Source

FEATURES:

  • New Data Source: azapi_client_config

ENHANCEMENTS:

  • azapi provider: Support client_certificate field, which specifies base64-encoded PKCS#12 bundle to be used as the client certificate for authentication.
  • azapi provider: Support use_aks_workload_identity field to enable AKS workload identity.
  • azapi_resource, azapi_update_resource, azapi_resource_action, azapi_data_plane_resource resources: Support timeouts.update field, which is used to specify the timeout for the update operation.
  • azapi_update_resource resource: Improve the id build logic to honor user's input.
  • Update bicep types to ms-henglu/bicep-types-az@37dcb18

BUG FIXES:

  • Fix a bug that azapi_resource will crash when the location in GET response is null.
  • Fix a bug that schema validation fails to validate unknown string values.
  • Fix a bug that azapi_resource only supports extension resource on a resource group scoped resource.
  • Fix a bug that OIDC authentication should not be used when required fields are missing.

v1.13.1

Compare Source

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

Compare Source

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 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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/azapi-2.x-lockfile branch from a23e43f to ddd63d6 Compare November 29, 2024 07:54
@renovate renovate bot force-pushed the renovate/azapi-2.x-lockfile branch from ddd63d6 to 4402e5b Compare December 30, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants