macOS
brew install cfn-formatlocal Homebrew formula metadata
brew
cfn-format のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cfn-formatlocal Homebrew formula metadata
概要
Command-line tool for formatting AWS CloudFormation templates
履歴
cfn-format is the Homebrew-packaged command built from the AWS CloudFormation rain repository's `cmd/cfn-format`, focused on checking and formatting AWS CloudFormation templates.
The upstream rain repository was created in 2019 and describes rain as a development workflow tool for AWS CloudFormation templates and stacks. Its README lists consistent formatting of CloudFormation templates as a key feature of `rain fmt`, including JSON/YAML conversion and YAML comment preservation.
Homebrew packages `cfn-format` separately from rain, building the `./cmd/cfn-format` target from the rain source repository. This gives package users a narrower formatter binary without installing the broader rain workflow CLI name.
The Homebrew formula test runs `cfn-format -v test.template` and expects a formatted-ok message. The rain README documents the broader formatter behavior under `rain fmt`.
cfn-format is package-nerd-interesting because it exposes one subcommand-sized slice of a larger CloudFormation workflow tool as its own formula, the kind of tiny binary split that helps scripts depend on exactly the formatter they need.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cfn-format | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/aws-cloudformation/rain
インストールメタデータ
| パッケージキー | brew:cfn-format |
|---|---|
| バージョン | 1.24.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cfn-format |
| ホームページ | https://github.com/aws-cloudformation/rain |
| リポジトリ | https://github.com/aws-cloudformation/rain |
| 上流ドキュメント | https://aws-cloudformation.github.io/rain/rain_fmt.html |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/aws-cloudformation/rain/archive/refs/tags/v1.24.4.tar.gz |
| 最終更新 | 2026-04-23T17:45:52Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cfn-format |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.