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

Bump azure/azapi from 1.15.0 to 2.0.1 in /code/infra #58

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2024

Bumps azure/azapi from 1.15.0 to 2.0.1.

Release notes

Sourced from azure/azapi's releases.

v2.0.1

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.

v2.0.0-beta

BREAKING CHANGES:

  • Provider field default_naming_prefix and default_naming_suffix are removed. Please specify the naming prefix and suffix in the resource's name field instead.
  • Provider field enable_hcl_output_for_data_source is removed. The output field in the data source is always in HCL format.
  • The azapi_resource's removing_special_chars field is removed. Please specify the name field and remove the special characters in the name field instead.
  • The ignore_body_changes field is removed. Please use the lifecyle.ignore_changes to ignore some properties when comparing the resource with its current state.
  • The body field now only accepts an HCL object. Please remove the jsonencode function when using the body field.
  • The output field now only exports an HCL object. Please remove the jsondecode function when using the output field.
  • The use_msi field now defaults to false, please set it to true explicitly if you want to authenticate using Managed Service Identity.

FEATURES:

  • New Provider Function: build_resource_id
  • New Provider Function: parse_resource_id
  • New Provider Function: subscription_resource_id
  • New Provider Function: tenant_resource_id
  • New Provider Function: management_group_resource_id
  • New Provider Function: resource_group_resource_id
  • New Provider Function: extension_resource_id

ENHANCEMENTS:

  • azapi provider: Support enable_preflight field, which is used to enable Preflight Validation, the default value is false.
  • azapi_resource and azapi_data_plane_resource resource: Support replace_triggers_external_values field which is used to trigger a replacement of the resource.
  • azapi_resource and azapi_data_plane_resource resource: Support replace_triggers_refs field which is used to trigger a replacement of the resource.
  • azapi resources and data sources: Support retry field, which is used to specify the retry configuration.
  • azapi resources and data sources: Support headers and query_parameters fields, which are used to specify the headers and query parameters.
  • azapi resources and data sources: The response_export_values field supports JMESPath expressions.
  • Accept AZURE_CLIENT_ID and AZURE_TENANT_ID environment variables when authenticating using AKS workload identity.
  • azapi provider: Support oidc_azure_service_connection_id field, which is used to specify the Azure Service Connection ID for OIDC authentication with Azure DevOps.
  • Update bicep types to ms-henglu/bicep-types-az@7492c6d
Changelog

Sourced from azure/azapi's changelog.

v2.0.1

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.

v2.0.0-beta

BREAKING CHANGES:

  • Provider field default_naming_prefix and default_naming_suffix are removed. Please specify the naming prefix and suffix in the resource's name field instead.
  • Provider field enable_hcl_output_for_data_source is removed. The output field in the data source is always in HCL format.
  • The azapi_resource's removing_special_chars field is removed. Please specify the name field and remove the special characters in the name field instead.
  • The ignore_body_changes field is removed. Please use the lifecyle.ignore_changes to ignore some properties when comparing the resource with its current state.
  • The body field now only accepts an HCL object. Please remove the jsonencode function when using the body field.
  • The output field now only exports an HCL object. Please remove the jsondecode function when using the output field.
  • The use_msi field now defaults to false, please set it to true explicitly if you want to authenticate using Managed Service Identity.

FEATURES:

  • New Provider Function: build_resource_id
  • New Provider Function: parse_resource_id
  • New Provider Function: subscription_resource_id
  • New Provider Function: tenant_resource_id
  • New Provider Function: management_group_resource_id
  • New Provider Function: resource_group_resource_id
  • New Provider Function: extension_resource_id

ENHANCEMENTS:

  • azapi provider: Support enable_preflight field, which is used to enable Preflight Validation, the default value is false.
  • azapi_resource and azapi_data_plane_resource resource: Support replace_triggers_external_values field which is used to trigger a replacement of the resource.
  • azapi_resource and azapi_data_plane_resource resource: Support replace_triggers_refs field which is used to trigger a replacement of the resource.
  • azapi resources and data sources: Support retry field, which is used to specify the retry configuration.
  • azapi resources and data sources: Support headers and query_parameters fields, which are used to specify the headers and query parameters.
  • azapi resources and data sources: The response_export_values field supports JMESPath expressions.
  • Accept AZURE_CLIENT_ID and AZURE_TENANT_ID environment variables when authenticating using AKS workload identity.
  • azapi provider: Support oidc_azure_service_connection_id field, which is used to specify the Azure Service Connection ID for OIDC authentication with Azure DevOps.
  • Update bicep types to ms-henglu/bicep-types-az@7492c6d
Commits
  • 599d7f0 fix format
  • 602363b skip resource group's latest api-version as it's unavailable (#640)
  • d9e6518 fix format in 2.0 upgrade guide (#641)
  • aa376da add example for storage account with private endpoint (#639)
  • 9adb636 update bicep types to c3ff45dfffe7f229447639b5982a1e2deadc1b71 (#636)
  • 4711011 azapi_* - add a validator on the body field to avoid user using JSON inpu...
  • 9d8ac96 azapi: Support disable_default_output field (#633)
  • 4acd48d azapi_* - the output field defaults to readonly (#632)
  • cad9e60 fix tests (#628)
  • 4685e2d avoid infinite retry (#627)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [azure/azapi](https://github.com/Azure/terraform-provider-azapi) from 1.15.0 to 2.0.1.
- [Release notes](https://github.com/Azure/terraform-provider-azapi/releases)
- [Changelog](https://github.com/Azure/terraform-provider-azapi/blob/main/CHANGELOG.md)
- [Commits](Azure/terraform-provider-azapi@v1.15.0...v2.0.1)

---
updated-dependencies:
- dependency-name: azure/azapi
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 27, 2024

The following labels could not be found: terraform, dependencies.

Copy link

Terraform Lint Results

  • Terraform Version 📎1.9.6
  • Working Directory 📂./code/infra
  • Terraform Format and Style 🖌success

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 31, 2024

Looks like azure/azapi is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 31, 2024
@dependabot dependabot bot deleted the dependabot/terraform/code/infra/azure/azapi-2.0.1 branch October 31, 2024 11:17
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