Releases: Azure/aztfexport
Releases · Azure/aztfexport
v0.18.0
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
andcf-workers-proxy-9e9.pages.dev/golang-jwt/jwt/v4
(#619)
v0.17.1
v0.17.0
v0.16.0
v0.15.0
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
v0.14.1
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 theimport.tf
after exporting. This fixes appending to a submodule fails due to import block can only resides in the root module (#516) - Update
aztft
andtfadd
for terraform-provider-azurerm v3.99.0, which fixes import issues reside in the upstream provider (#517)
v0.14.0
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, eitherazurerm
(default), orazapi
(new) (#462, #464, #465) resource-group
andquery
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
v0.13.0
0.13.0 (Jul 17, 2023)
ENHANCEMENTS
- Resource mapping file (i.e.
aztfexportResourceMapping.json
) will now be generated together with theimport.tf
that is the Terraform official import blocks, as long as the version ofterraform
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