Skip to content

Releases: Azure/aztfexport

v0.17.1

25 Mar 04:57
aa75416
Compare
Choose a tag to compare

0.17.1 (Mar 25, 2025)

DEPENDENCIES

  • Update github.com/golang-jwt/jwt/v5: v5.2.1 -> v5.2.2 (#611)
  • Update github.com/golang-jwt/jwt/v4: v4.5.0 -> v4.5.2 (#612)

v0.17.0

24 Mar 05:56
9050e22
Compare
Choose a tag to compare

0.17.0 (Mar 24, 2025)

ENHANCEMENTS

  • Support azurerm v4.24.0 and azapi v2.3.0 (#610)

BUG FIXES

  • Non-interactive mode error out if no resource being listed (#597)
  • Correct the populated resource id of azurerm_network_interface_application_security_group_association (#599)

v0.16.0

28 Jan 04:16
ec548e4
Compare
Choose a tag to compare

0.16.0 (Jan 28, 2025)

ENHANCEMENTS

  • Query mode: Supports --arg-table and --arg-authorization-scope-filter (#565)
  • Support azurerm v4.16.0 and azapi v2.2.0 (#594)

BUG FIXES

  • Return error for non-existent resources when using terraformless export (#560)
  • Fix --include-role-assignment not working for roles assigned to empty resource groups (#574, #576)
  • Remove version check for the terraform (#583)

v0.15.0

19 Aug 11:35
f1f6cce
Compare
Choose a tag to compare

0.15.0 (Aug 19, 2024)

ENHANCEMENTS

  • Authentication related options now pass through to the provider as the provider configuration (#546)

    The new options (or existing flags but now passed to providers) are listed below:

    • env
    • tenant-id
    • auxiliary-tenant-ids
    • client-id
    • client-id-file-path
    • client-certificate
    • client-certificate-path
    • client-certificate-password
    • client-secret
    • client-secret-file-path
    • oidc-request-token
    • oidc-request-url
    • oidc-token
    • oidc-token-file-path
    • use-managed-identity-cred (defaults to false)
    • use-azure-cli-cred (defaults to true)
    • use-oidc-cred (defaults to false)
  • New option: -mask-sensitive to allow masking sensitive attributes (#551)

  • Resource mode supports multiple resources (#552)

  • Behavior change of --overwrite to avoid deleting user files (#553)

SECURITY ISSUES

  • Update github.com/hashicorp/hc-install to v0.7.0 to solve CVE issues (#538)

v0.14.2

07 Jun 10:21
523f5b8
Compare
Choose a tag to compare

0.14.2 (Jun 7, 2024)

BUG FIXES

  • Update aztft to include population of load balancer probes and rules, if any (#524)

v0.14.1

16 Apr 06:53
f492475
Compare
Choose a tag to compare

0.14.1 (Apr 16, 2024)

BUG FIXES

  • Fix rg mode not export empty resource group (#500)
  • Fix cross RP parent-child dependency (#505)
  • Update github.com/hashicorp/terraform-exec: v0.17.2 -> v0.20.0 to fix an issue relating to terraform cloud (#508)
  • New option: --generate-import-block to allow users to select whether to generate the import.tf after exporting. This fixes appending to a submodule fails due to import block can only resides in the root module (#516)
  • Update aztft and tfadd for terraform-provider-azurerm v3.99.0, which fixes import issues reside in the upstream provider (#517)

v0.14.0

13 Nov 07:12
fb772ba
Compare
Choose a tag to compare

0.14.0 (Nov 13, 2023)

ENHANCEMENTS

  • New auth method: Fedorated Workload Identity (a.k.a OIDC) (#438)
  • New option --provider-name=[azurerm|azapi] to export to different providers, either azurerm (default), or azapi (new) (#462, #464, #465)
  • resource-group and query modes add new option: --include-role-assignment for exporting role assignments directly assigned to the exported resources (#468)
  • query mode add new option --include-resource-group for exporting the resource group(s) containing the exported resources (#468)
  • Support azurerm provider v3.77.0 (#463)

BUG FIXES

  • Update aztft to fix the id construction for azurerm_role_definition (#437)

v0.13.1

18 Jul 05:05
c690456
Compare
Choose a tag to compare

0.13.1 (Jul 18, 2023)

BUG FIXES

  • Update aztft to fix a panic when querying unknown resource types (#434)

v0.13.0

17 Jul 03:05
a590751
Compare
Choose a tag to compare

0.13.0 (Jul 17, 2023)

ENHANCEMENTS

  • Resource mapping file (i.e. aztfexportResourceMapping.json) will now be generated together with the import.tf that is the Terraform official import blocks, as long as the version of terraform being used is v1.5.0 or later (#398)
  • New option: --plain-ui which can be used together with --non-interactive for environment that has no /dev/tty available (#423)
  • Support azurerm provider v3.65.0 (#430)

BUG FIXES

  • Update aztft to support populate logic app workflow's prop-like resources (#421)
  • Support the legacy azurerm_virtual_machine (#425, #427)

v0.12.0

24 May 07:54
f51db41
Compare
Choose a tag to compare

0.12.0 (May 24, 2023)

FEATURES

  • Integrate with terraform-client-go for "HCL only" mode that replaces the terraform binary, for better performance and lower resource consumption (#381)

ENHANCEMENTS

  • New option: --provider-version to overwrite the provider version used for importing (other than using the bound version) (#376)
  • New option: --env to specify a different environment rather than public cloud (#378)
  • New CLI options: --use-environment-cred, --use-managed-identiy-cred and --use-azure-cli-cred to allow users to explicitly choose auth method instead of the default auth chain (#390)
  • Support azurerm provider v3.56.0 (#396)

BUG FIXES

  • Extend --append to remote backend, and the backend type now honors the existing type in append mode (#373)