Automic VaultAutomic Vault

brew

使用 Homebrew 安装 cloudformation-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cloudformation-cli

local Homebrew formula metadata

概览

软件包摘要

CloudFormation Provider Development Toolkit

命令和别名

  • cfn
  • cfn-cli

历史

项目历史与用法

AWS CloudFormation CLI is the provider development toolkit for authoring, testing, and registering CloudFormation resource providers and modules. It matters less as an everyday deploy CLI and more as the toolchain behind CloudFormation Registry extension development.

项目历史

AWS created the cloudformation-cli repository in 2018 and released early public versions in 2019 as CloudFormation's extension model became public. The official AWS docs position the CLI as the tool used to model, develop, test, and submit resource providers for CloudFormation.

The project sits in the aws-cloudformation GitHub organization alongside language plugins and related extension tooling, reflecting a design where the core CLI coordinates schemas, handlers, contract tests, and registry publication.

采用历史

Unlike general-purpose AWS CLIs, CloudFormation CLI is adopted mostly by provider authors, platform teams, and vendors that need first-class CloudFormation resource types. Homebrew packaging gives macOS users a simple install path, but the package is inherently narrower than awscli or cdk.

Its adoption is tied to the CloudFormation Registry ecosystem: as organizations add private or third-party resource types, the cfn/cfn-cli package becomes part of build pipelines for extension development and contract testing.

使用方式

Developers use cfn init, generate, test, submit, and related commands to create a provider project, run contract tests, and register or update a resource type or module in CloudFormation.

typeConfiguration.json under ~/.cfn-cli is used by the toolkit for type configuration during contract testing and development workflows. AWS credentials normally come from the broader AWS SDK/CLI credential chain rather than a CloudFormation CLI-specific credential file.

为什么软件包爱好者会关心

cloudformation-cli is package-nerd significant because it exposes AWS's extension-development workflow as a Python CLI in Homebrew. It is not a high-volume shell utility, but it is the canonical local tool for a specialized infrastructure-as-code authoring loop.

The formula also illustrates a common cloud-tooling packaging pattern: a narrow vendor CLI with a small user base but high importance for the teams that need reproducible IaC extension builds.

时间线

  • 2018: Official cloudformation-cli GitHub repository was created.
  • 2019: Early public v0.1.x releases were published as CloudFormation extension tooling emerged.
  • 2019: AWS documented the CloudFormation CLI and Registry workflow for provider development.
  • 2020s: The CLI continued as the toolkit behind CloudFormation resource provider and module development.

Related projects

  • AWS CloudFormation Registry is the service surface where generated providers and modules are registered.
  • Language plugins such as cloudformation-cli-python-plugin and other aws-cloudformation tooling extend the provider-development workflow.
  • AWS CDK, SAM, cfn-lint, and CloudFormation Guard are adjacent IaC tools, but they solve different authoring, deployment, validation, or policy problems.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.cfn-cli/typeConfiguration.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cfncli全局可执行文件
cfn-clicli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/aws-cloudformation/cloudformation-cli

安装元数据

软件包元数据

软件包键brew:cloudformation-cli
版本0.2.39
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cloudformation-cli
主页https://github.com/aws-cloudformation/cloudformation-cli/
仓库https://github.com/aws-cloudformation/cloudformation-cli
上游文档https://docs.aws.amazon.com/cloudformation
许可证Apache-2.0
源码归档https://files.pythonhosted.org/packages/12/ed/36f14b63957e99d9f2cbb5ac5671eed9fb93569e57add60534d47fc630e4/cloudformation-cli-0.2.39.tar.gz
最后更新2026-05-20T12:13:54Z
Pulseupdated
依赖certifi, libyaml, pydantic, python@3.13
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项cloudformation java, go, python plugins are installed, but the Go and Java are not bundled with the installation.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecloudformation-cli
Version Scheme0
Revision13
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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 configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment