Skip to content

Bump azure/azapi from 1.12.1 to 1.13.0 in /code/infra #182

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2024

Bumps azure/azapi from 1.12.1 to 1.13.0.

Release notes

Sourced from azure/azapi's releases.

v1.13.0

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

Sourced from azure/azapi's changelog.

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 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.
Commits
  • 192e61b update bicep types to 48ce933ad85391b60ee02cf83e17c9b28d31a7b1 (#460)
  • 9723124 revert deprecation for ignore_casing (#459)
  • f392439 add validator for body and identity fields (#457)
  • 39a7f3f azapi_resource resource: support taint (#458)
  • cc4defe fix tests
  • 07e1387 output defaults to previous state
  • 5a9785b update examples to use dynamic schema (#456)
  • 24a8ed2 bugfix: azapi_resource_action: when=destroy doesn't work
  • 1a5e281 ignore the order of the elements in a list (#455)
  • 388e86e fix validation error when body refers to an unknown value
  • 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.12.1 to 1.13.0.
- [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.12.1...v1.13.0)

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

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

dependabot bot commented on behalf of github Apr 28, 2024

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

Copy link

Terraform Lint Results

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

Copy link
Contributor Author

dependabot bot commented on behalf of github May 3, 2024

Superseded by #185.

@dependabot dependabot bot closed this May 3, 2024
@dependabot dependabot bot deleted the dependabot/terraform/code/infra/azure/azapi-1.13.0 branch May 3, 2024 10:57
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