Azure/aztfexport
A tool to bring existing Azure resources under Terraform's management observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 83
- age_days: 1845
- days_rel: 47
- days_push: 9
- n_releases_24m: 6
Adoption not part of the score
1909 stars · 220 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Azure Export for Terraform (aztfexport) is a CLI tool that imports existing Azure resources into Terraform state and generates the corresponding Terraform configuration. It supports both the AzureRM and AzAPI providers and aims for zero-diff terraform plans after export.
Use cases
- import existing azure resources into terraform
- generate terraform config from current azure infrastructure
- adopt terraform for pre-existing azure resources
- export azure resource group to terraform state
- migrate manually created azure resources to iac
- run terraform plan with no diff after importing azure resources
When to choose
- you have existing Azure resources not yet managed by Terraform
- you want automated state import plus HCL generation for AzureRM or AzAPI providers
- you need a cross-platform CLI with package manager installs
When to avoid
- you need 100% reproducible infrastructure from the generated configuration
- you want elegant generated code with modules, for_each, or implicit dependencies
- you are exporting non-Azure cloud resources
Facets
cli-tool · maturity active
infrastructure-as-code cli developer-tools deployment infrastructure-as-code cloud-computing windows cli cross-platform terraform azure iac resource-import azurerm azapi go devops automation linux macos
2 sources
- readme: https://github.com/Azure/aztfexport · fetched 2026-08-28 · 4dd2a6389264
- homepage: https://azure.github.io/aztfexport/ · fetched 2026-08-29 · 06b87c8f9492
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Azure/aztfexport | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="Azure/aztfexport")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem