# cf2tf を Homebrew でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install cf2tf
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cf2tf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.9.2
- **ソース概要:** Cloudformation templates to Terraform HCL converter
- **ホームページ:** <https://github.com/DontShaveTheYak/cf2tf>
- **リポジトリ:** <https://github.com/DontShaveTheYak/cf2tf>
- **最終更新:** 2026-07-25T09:54:11Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cf2tf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.9.2
## プロジェクトの歴史と使われ方

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
