macOS
brew install aztfexportlocal Homebrew formula metadata
brew
aztfexport のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install aztfexportlocal Homebrew formula metadata
nix profile install nixpkgs#aztfexportnixpkgs package indexes · pkgs/by-name/az/aztfexport/package.nix · ソース: api.github.com
scoop install main/aztfexportScoop official bucket manifest trees · bucket/aztfexport.json · ソース: api.github.com
winget install --id Microsoft.Azure.AztfExport -eWindows Package Manager source index · Microsoft.Azure.AztfExport · ソース: cdn.winget.microsoft.com
概要
Bring your existing Azure resources under the management of Terraform
履歴
Azure Export for Terraform, packaged as `aztfexport`, is Microsoft's CLI for bringing existing Azure resources under Terraform management. It addresses the awkward middle state many cloud teams reach: infrastructure exists in Azure, Terraform is the desired control plane, and manually writing imports plus HCL for every resource is error-prone work.
The Azure/aztfexport repository was created in August 2021, with v0.0.1 published the same month. The official README states the goal directly: export supported Azure resources into Terraform state and generate corresponding Terraform configuration so that `terraform plan` shows no diff against remote state.
The tool's implementation history is closely tied to the Terraform Azure ecosystem. The README says it supports both the Terraform AzureRM provider and Azure AzAPI provider, uses `aztft` to identify Terraform resource types from Azure resource IDs, runs `terraform import` under the hood, and then uses `tfadd` to generate Terraform HCL from state.
The release stream moved quickly through early 0.x releases in 2021 and 2022, reached v0.12.0 in May 2023, and continued through v0.19.0 in January 2026. Microsoft Learn now hosts scenario-oriented Azure Export for Terraform documentation alongside the GitHub README.
The official README documents several install paths: GitHub releases, `go install`, WinGet, Homebrew for Linux/macOS, Microsoft package repositories for dnf and apt, and AUR. The batch input also lists Homebrew, Nix, Scoop, and WinGet, which reflects its audience across Terraform-heavy local development, Windows admin desktops, and Linux automation environments.
Users run `aztfexport` against Azure resources or resource groups to produce Terraform state and configuration, with Terraform itself required on PATH. The generated HCL is explicitly scoped: it is meant to be consistent with remote state and suitable for management, not guaranteed to be a complete reproducible design for the infrastructure.
The tool creates `~/.aztfexport/config.json` for settings managed by `aztfexport config`, including an installation id and telemetry opt-out setting.
Aztfexport is important to package nerds because it packages a messy import workflow into a repeatable CLI while still depending on a real Terraform binary. That makes versioning and distribution matter: the user is coordinating the Azure CLI/auth environment, Terraform, provider behavior, and this exporter.
It is also a good example of a cloud-vendor tool that grew around community-adjacent components. Microsoft owns the CLI, but the README openly names `aztft` and `tfadd` as the engines behind provider-type detection and HCL generation.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.aztfexport/config.json実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
aztfexport | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/Azure/aztfexport
インストールメタデータ
| パッケージキー | brew:aztfexport |
|---|---|
| バージョン | 0.19.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/aztfexport |
| ホームページ | https://azure.github.io/aztfexport/ |
| リポジトリ | https://github.com/Azure/aztfexport |
| 上流ドキュメント | https://github.com/Azure/aztfexport |
| ライセンス | MPL-2.0 |
| ソースアーカイブ | https://github.com/Azure/aztfexport.git |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aztfexport |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
aztfexport
nix profile install nixpkgs#aztfexportmain/aztfexport
scoop install main/aztfexportMicrosoft.Azure.AztfExport
winget install --id Microsoft.Azure.AztfExport -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.