tfk8s

Converts Kubernetes YAML manifests to Terraform HCL configuration

brewmacoslinux
Try with needOr install directly
Source

About

Kubernetes YAML manifests to Terraform HCL converter

Commands

tfk8s

Examples

Convert a single Kubernetes YAML file to Terraform HCL$ tfk8s -f deployment.yaml
Convert multiple YAML files from a directory$ tfk8s -f ./manifests/
Convert YAML and output to a specific Terraform file$ tfk8s -f service.yaml -o main.tf