macOS
brew install tfk8slocal Homebrew formula metadata
sudo port install tfk8sMacPorts ports tree · sysutils/tfk8s/Portfile · ソース: api.github.com
brew
tfk8s のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install tfk8slocal Homebrew formula metadata
sudo port install tfk8sMacPorts ports tree · sysutils/tfk8s/Portfile · ソース: api.github.com
sudo apt install tfk8sDebian stable package indexes · tfk8s · ソース: deb.debian.org
nix profile install nixpkgs#tfk8snixpkgs package indexes · pkgs/by-name/tf/tfk8s/package.nix · ソース: api.github.com
概要
Kubernetes YAML manifests to Terraform HCL converter
履歴
tfk8s is a Go CLI for converting Kubernetes YAML manifests into Terraform HCL for the Terraform Kubernetes provider. Its README frames the tool around copying examples from Kubernetes documentation or migrating existing YAML manifests without hand-converting them to HCL.
The project occupies the bridge between Kubernetes YAML workflows and Terraform-managed Kubernetes resources. The README focuses on practical conversions: YAML files to `.tf`, `kubectl get ... -o yaml` piped through tfk8s, Helm template output converted to Terraform, and recursive conversion of manifest trees.
The release history is compact but focused. GitHub lists v0.1.10 as the latest release, with v0.1.x releases adding fixes such as stripping generated fields, supporting `generateName`, handling heredoc strings, ignoring empty YAML documents, and removing a dependency on the Terraform project.
The repository shows about a thousand GitHub stars and is packaged by Homebrew, Debian, Ubuntu, MacPorts, and Nix according to the input metadata. That is broad packaging for a narrow converter, suggesting sustained utility for users moving between Kubernetes-native and Terraform-native representations.
Its adoption niche is migration and copy-paste ergonomics: developers can bring Kubernetes examples, Helm output, or live-cluster YAML into Terraform code review without manually mapping every object into HCL.
The standard workflow is `tfk8s -f input.yaml -o output.tf` or piping YAML into stdin and redirecting HCL. Flags include input/output file selection, map-only output, provider alias population, stripping server-side fields, quote-stripping for map keys, and version display.
The README documents use with `kubectl`, Helm, and `find`, making it useful in shell pipelines rather than only as an interactive conversion tool.
tfk8s is package-nerd interesting because it is a format converter with a very clear boundary: Kubernetes YAML in, Terraform HCL out. It reduces a boring migration chore and fits naturally as a small CLI installed from a system package manager.
Its presence in multiple package ecosystems makes it easier to use in CI and migration scripts without vendoring a custom converter into every repository.
セキュリティ状態
infrastructure mutation or orchestration signal.
リスク orange · 信頼度 中 · infrastructure
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tfk8s | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/jrhouston/tfk8s
インストールメタデータ
| パッケージキー | brew:tfk8s |
|---|---|
| バージョン | 0.1.10 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/tfk8s |
| ホームページ | https://github.com/jrhouston/tfk8s |
| リポジトリ | https://github.com/jrhouston/tfk8s |
| 上流ドキュメント | https://github.com/jrhouston/tfk8s |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/jrhouston/tfk8s/archive/refs/tags/v0.1.10.tar.gz |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tfk8s |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
tfk8s 0.1.10-2+b10
Tool for converting Kubernetes YAML manifests to Terraform HCL
https://github.com/jrhouston/tfk8s
sudo apt install tfk8stfk8s
nix profile install nixpkgs#tfk8stfk8s 0.1.10-2
Tool for converting Kubernetes YAML manifests to Terraform HCL
https://github.com/jrhouston/tfk8s
sudo apt install tfk8stfk8s
sudo port install tfk8sソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.