sl1pm4t/k2tf
Kubernetes YAML to Terraform HCL converter observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 56
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2748
- days_rel: n/a
- days_push: 264
- n_releases_24m: 0
Adoption not part of the score
1233 stars · 107 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
k2tf is a command-line tool that converts Kubernetes API objects from YAML manifests into Terraform HCL configuration. The generated .tf files are intended for use with the Terraform Kubernetes Provider.
Use cases
- convert kubernetes yaml manifests to terraform hcl
- migrate kubernetes manifests to terraform kubernetes provider config
- convert a directory of k8s yaml files to terraform files
- generate terraform config from kubectl get output
- import existing kubernetes deployments into terraform
When to choose
- you are adopting terraform for kubernetes resources and have existing YAML manifests
- you want to convert manifests directly from a live cluster via kubectl
- you need a simple one-shot CLI conversion without a server
When to avoid
- you want continuous drift detection or import tooling like terraform import or kubectl tfstate helpers
- you need conversion to other IaC formats like Pulumi or CDK
- you require fully hand-tuned HCL with modules and variables
Facets
cli-tool · maturity active
developer-tools configuration-management infrastructure-as-code infrastructure-as-code developer-tools cli windows cross-platform terraform kubernetes yaml hcl converter hashicorp devops containers linux macos
1 source
- readme: https://github.com/sl1pm4t/k2tf · fetched 2026-08-28 · 143156263396
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sl1pm4t/k2tf | main | 48 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem