macOS
brew install cdktflocal Homebrew formula metadata
安装
brew install cdktflocal Homebrew formula metadata
概览
Cloud Development Kit for Terraform
历史
CDK for Terraform, commonly packaged as cdktf, lets users define Terraform infrastructure with familiar programming languages and then synthesize Terraform configuration.
HashiCorp introduced CDK for Terraform as an experimental bridge between Terraform and the construct-based CDK programming model. The official docs now present it as a Terraform workflow with its own CLI, project configuration file, generated provider bindings, and language support.
The official repository is hashicorp/terraform-cdk, while the packaged CLI command is cdktf. The 2026 Homebrew formula packages cdktf 0.21.0.
CDKTF appealed to Terraform users who wanted loops, classes, libraries, testing patterns, and IDE type support from languages such as TypeScript, Python, Java, C#, and Go, while still targeting Terraform providers and state-oriented workflows.
Its adoption is clearest in the Terraform ecosystem rather than as a replacement for Terraform language itself: teams use it when generated bindings and programming-language abstractions justify the additional build step.
A CDKTF project uses cdktf.json to declare the language, app command, providers, modules, and CLI behavior. Developers run commands such as cdktf get, synth, diff, and deploy around generated Terraform artifacts.
CDKTF is a package-manager crossroads: a Homebrew CLI formula wraps a Node-distributed tool that generates bindings for Terraform providers, so versioning touches npm packaging, Terraform provider constraints, generated code, and HashiCorp's Terraform release cadence.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
./cdktf.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cdktf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hashicorp/terraform-cdk
安装元数据
| 软件包键 | brew:cdktf |
|---|---|
| 版本 | 0.21.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cdktf |
| 主页 | https://github.com/hashicorp/terraform-cdk |
| 仓库 | https://github.com/hashicorp/terraform-cdk |
| 上游文档 | https://developer.hashicorp.com/terraform/cdktf |
| 许可证 | MPL-2.0 |
| 源码归档 | https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.21.0.tgz |
| 依赖 | node |
| 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 | cdktf |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.