Automic VaultAutomic Vault

brew

使用 Homebrew 安装 cf2tf

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cf2tf

local Homebrew formula metadata

概览

软件包摘要

Cloudformation templates to Terraform HCL converter

命令和别名

  • cf2tf

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/DontShaveTheYak/cf2tf

安装元数据

软件包元数据

软件包键brew:cf2tf
版本0.9.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cf2tf
主页https://github.com/DontShaveTheYak/cf2tf
仓库https://github.com/DontShaveTheYak/cf2tf
上游文档https://github.com/DontShaveTheYak/cf2tf#readme
许可证GPL-3.0-only
源码归档https://files.pythonhosted.org/packages/7f/c3/a6dfdc4848cfd4fb50e15e9449c439791a009638c2bd06b6fe6982d9afc1/cf2tf-0.9.2.tar.gz
最后更新2026-07-22T10:32:39Z
Pulseupdated
依赖certifi, libyaml, python@3.14
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 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 package history
  • package relationship graph
  • package version freshness
  • package-page enrichment