# cf2tf を Homebrew でインストール

cf2tf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cf2tf
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cf2tf
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cf2tf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cf2tf>
- **バージョン:** 0.9.2
- **ソース概要:** Cloudformation templates to Terraform HCL converter
- **ホームページ:** <https://github.com/DontShaveTheYak/cf2tf>
- **リポジトリ:** <https://github.com/DontShaveTheYak/cf2tf>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/7f/c3/a6dfdc4848cfd4fb50e15e9449c439791a009638c2bd06b6fe6982d9afc1/cf2tf-0.9.2.tar.gz>
- **最終更新:** 2026-08-04T10:19:08Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cf2tf (cli)
- cf2tf (エイリアス)

## 依存関係

- certifi
- libyaml
- python@3.14

## ビルド依存関係

- cmake

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.9.2
- マネージャ更新日: 2026-08-04
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/DontShaveTheYak/cf2tf
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/DontShaveTheYak/cf2tf>
- <https://github.com/DontShaveTheYak/cf2tf>
- <https://github.com/DontShaveTheYak/cf2tf#readme>
- <https://formulae.brew.sh/api/formula/cf2tf.json>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cf2tf
- **Version Scheme:** 0
- **Revision:** 6
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [cfn-lint](https://pkg.so/ja/brew/cfn-lint/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [aws-cdk](https://pkg.so/ja/brew/aws-cdk/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [rain](https://pkg.so/ja/brew/rain/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [terraform-local](https://pkg.so/ja/brew/terraform-local/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code, terraform.
- [cloudformation-cli](https://pkg.so/ja/brew/cloudformation-cli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [sceptre](https://pkg.so/ja/brew/sceptre/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [org-formation](https://pkg.so/ja/brew/org-formation/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [cfn-format](https://pkg.so/ja/brew/cfn-format/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, infrastructure-as-code.
- [aws-sso-util](https://pkg.so/ja/brew/aws-sso-util/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, certifi, cli, cloud, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/cf2tf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cf2tf.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
