Skip to content

Releases: Azure/aztfexport

v0.18.0

16 Jun 09:04
c787766
Compare
Choose a tag to compare

0.18.0 (Jun 16, 2025)

FEATURES

  • New options to exclude resources to be exported: --exclude-[terraform|azure]-resource(-file) (#620)
  • Generated configuration will contain unambiguous resource id references (previously, the resource id was generated verbatim, together with an explicit dependency on the target resource via the depends_on) (#625)
  • Support terraform-provider-azurerm v4.33.0 (#630)
  • Support terraform-provider-azapi v2.4.0 (#630)

BUG FIXES

  • Update tfadd for a fix to remove zero/default value attribute only for optional attribute (#627)

DEPENDENCIES

  • Remove transitive dependency on github.com/golang-jwt/jwt/v3 and github.com/golang-jwt/jwt/v4 (#619)

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)