macOS
brew install cf2tflocal Homebrew formula metadata
brew
Cloudformation templates to Terraform HCL converter. Version 0.9.2 via Homebrew; verified 2026-05-20.
install
brew install cf2tflocal Homebrew formula metadata
overview
Cloudformation templates to Terraform HCL converter
history
cf2tf is a Python command-line converter for moving AWS CloudFormation templates toward Terraform HCL. Its own README frames the tool as an attempt rather than a perfect translator, because some CloudFormation data shapes do not map cleanly to HCL.
The public GitHub repository was created in 2022 and the README documents the project as Cloudformation 2 Terraform, a CLI that reads a CloudFormation template and emits Terraform resources. The README also notes that cfn-flip is used to parse YAML into a Python dictionary, placing cf2tf in the small ecosystem of CloudFormation template tooling.
The project is distributed as a PyPI package and is packaged by Homebrew as `cf2tf`. That makes it visible to both Python users and macOS/Linux package-manager users who need one-off CloudFormation-to-Terraform conversion during migration work.
The documented CLI usage is `cf2tf my_template.yaml`, optionally redirecting stdout to `main.tf` or using `-o` to split output into files by resource type.
Package nerds care about cf2tf because it is a narrow migration helper: not a Terraform provider, not an AWS deployment tool, just a packaged converter for an awkward infrastructure-as-code boundary.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cf2tf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/DontShaveTheYak/cf2tf
install metadata
| Package key | brew:cf2tf |
|---|---|
| Version | 0.9.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cf2tf |
| Homepage | https://github.com/DontShaveTheYak/cf2tf |
| Repository | https://github.com/DontShaveTheYak/cf2tf |
| Upstream docs | https://github.com/DontShaveTheYak/cf2tf#readme |
| License | GPL-3.0-only |
| Source archive | https://files.pythonhosted.org/packages/7f/c3/a6dfdc4848cfd4fb50e15e9449c439791a009638c2bd06b6fe6982d9afc1/cf2tf-0.9.2.tar.gz |
| Last updated | 2026-05-20T11:35:01Z |
| Pulse | updated |
| Dependencies | certifi, libyaml, python@3.14 |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cf2tf |
| Version Scheme | 0 |
| Revision | 4 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.