Automic VaultAutomic Vault

brew

Install cf2tf with Homebrew

Cloudformation templates to Terraform HCL converter. Version 0.9.2 via Homebrew; verified 2026-05-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cf2tf

local Homebrew formula metadata

overview

Package summary

Cloudformation templates to Terraform HCL converter

Commands and aliases

  • cf2tf

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2022: GitHub repository created.
  • 2022: First GitHub release metadata published for tag 0.0.0.
  • 2026: GitHub release metadata shows tag 0.9.2.

Related projects

  • AWS CloudFormation Template Flip is acknowledged by cf2tf as the parser used to convert templates from YAML to Python dictionaries.
  • Terraform and HashiCorp HCL are the target ecosystem for generated output.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:cloud

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cf2tfcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.9.2
manager updated2026-05-20
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/DontShaveTheYak/cf2tf

install metadata

Package metadata

Package keybrew:cf2tf
Version0.9.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cf2tf
Homepagehttps://github.com/DontShaveTheYak/cf2tf
Repositoryhttps://github.com/DontShaveTheYak/cf2tf
Upstream docshttps://github.com/DontShaveTheYak/cf2tf#readme
LicenseGPL-3.0-only
Source archivehttps://files.pythonhosted.org/packages/7f/c3/a6dfdc4848cfd4fb50e15e9449c439791a009638c2bd06b6fe6982d9afc1/cf2tf-0.9.2.tar.gz
Last updated2026-05-20T11:35:01Z
Pulseupdated
Dependenciescertifi, libyaml, python@3.14
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecf2tf
Version Scheme0
Revision4
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment