# cfn-flip を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:cfn-flip
```

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

### macOS

- Homebrew (100%):

```sh
brew install cfn-flip
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cfn-flip
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cfn-flip>
- **バージョン:** 1.3.0
- **ソース概要:** Convert AWS CloudFormation templates between JSON and YAML formats
- **ホームページ:** <https://github.com/awslabs/aws-cfn-template-flip>
- **リポジトリ:** <https://github.com/awslabs/aws-cfn-template-flip>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/ca/75/8eba0bb52a6c58e347bc4c839b249d9f42380de93ed12a14eba4355387b4/cfn_flip-1.3.0.tar.gz>
- **最終更新:** 2026-07-17T18:27:49+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cfn-flip (cli)
- cfn-flip (エイリアス)

## 依存関係

- libyaml
- python@3.14

## インストール挙動

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

## バージョンと鮮度

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

AWS CloudFormation Template Flip is an AWS Labs Python tool and library for converting CloudFormation templates between JSON and YAML while using short-form YAML intrinsic-function syntax where possible.

### プロジェクトの歴史

The official README explains the name as an homage to the Unix `flip` utility and documents both the `cfn-flip` command and the `cfn_flip` Python package API. The repository metadata records the public repo creation in 2016.

### 採用の歴史

The project is packaged for Homebrew as `cfn-flip` and distributed as a Python package. Its README now deprecates CLI usage in favor of `rain fmt`, while explicitly saying the Python API may continue to be used.

### 使われ方

The documented CLI reads from stdin or files and converts JSON to YAML or YAML to JSON. The Python API exposes `flip`, `to_yaml`, and `to_json` for applications that need CloudFormation template serialization.

### パッケージ好きにとっての重要性

cfn-flip is significant because it solved a very specific packaging annoyance: CloudFormation users wanted a reliable converter that preserved AWS intrinsic-function syntax instead of treating templates as generic JSON/YAML.

### タイムライン

- 2016: GitHub repository metadata records public repository creation.
- 2021: GitHub release metadata records cfn_flip 1.3.0.
- Current README: CLI usage is deprecated in favor of `rain fmt`; package API remains available.

### Related projects

- rain is the recommended replacement for CLI formatting and conversion.
- cf2tf acknowledges cfn-flip as a parser used when converting CloudFormation templates.

### ソース

- <https://api.github.com/repos/awslabs/aws-cfn-template-flip>
- <https://github.com/awslabs/aws-cfn-template-flip>
- <https://aws-cloudformation.github.io/rain/rain_fmt.html>
- <https://github.com/awslabs/aws-cfn-template-flip#readme>
- <https://formulae.brew.sh/api/formula/cfn-flip.json>


## セキュリティノート

infrastructure mutation or orchestration signal.

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

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

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cfn-flip
- **Version Scheme:** 0
- **Revision:** 3
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** 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.
- [cfn-format](https://pkg.so/ja/brew/cfn-format/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [cfn-lint](https://pkg.so/ja/brew/cfn-lint/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [aws-cdk](https://pkg.so/ja/brew/aws-cdk/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [eksctl](https://pkg.so/ja/brew/eksctl/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [rain](https://pkg.so/ja/brew/rain/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [aws-sso-util](https://pkg.so/ja/brew/aws-sso-util/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [aws-amplify](https://pkg.so/ja/brew/aws-amplify/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [aws-console](https://pkg.so/ja/brew/aws-console/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [cf2tf](https://pkg.so/ja/brew/cf2tf/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, cloudformation.

## Combined YAML source

View the package source record on GitHub. [combined/cfn-flip.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cfn-flip.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
