Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, scoop, winget 安装 aztfexport

查看 aztfexport 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aztfexport

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#aztfexport

nixpkgs package indexes · pkgs/by-name/az/aztfexport/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/aztfexport

Scoop official bucket manifest trees · bucket/aztfexport.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Microsoft.Azure.AztfExport -e

Windows Package Manager source index · Microsoft.Azure.AztfExport · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Bring your existing Azure resources under the management of Terraform

命令和别名

  • aztfexport

历史

项目历史与用法

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.

时间线

  • 2021: Azure/aztfexport repository created.
  • 2021: v0.0.1 release published.
  • 2022: v0.8.0 release published.
  • 2023: v0.12.0 and v0.14.0 releases published.
  • 2026: v0.19.0 release published.

Related projects

  • The README explicitly relates Azure Export for Terraform to Terraform, the Terraform AzureRM provider, the Terraform AzAPI provider, aztft, and tfadd.

来源

  • GitHub releases API lists v0.0.1 on 2021-08-28 and v0.19.0 on 2026-01-27.
  • GitHub repository metadata: created_at 2021-08-14.
  • Microsoft Learn provides official Azure Export for Terraform overview and advanced scenario docs.
  • Official README documents goal, providers, Terraform import workflow, dependencies, install paths, config file, and limitations.
  • input.source_facts.package-manager lists Homebrew, Nix, Scoop, and WinGet packaging.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.aztfexport/config.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aztfexportcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.19.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/Azure/aztfexport

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/Azure/aztfexportnone 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaztfexport
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

aztfexport

nix profile install nixpkgs#aztfexport
  • normalized package name match
  • 匹配方式:Aztfexport
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/az/aztfexport/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

main/aztfexport

scoop install main/aztfexport
  • normalized package name match
  • 匹配方式:Aztfexport
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/aztfexport.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Microsoft.Azure.AztfExport

winget install --id Microsoft.Azure.AztfExport -e
  • normalized package name match
  • 匹配方式:Aztfexport
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.Azure.AztfExport from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment