lingon
tfk8s
lingon | tfk8s | |
---|---|---|
6 | 1 | |
74 | 982 | |
- | - | |
9.1 | 1.0 | |
about 1 year ago | 11 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lingon
-
How would one programmatically formatting Terraform HCL
We built Lingon (https://github.com/volvo-cars/lingon/tree/main/docs/terraform) to generate terraform HCL from Go code. It might be useful or at least a good reference of using the hclwrite package:
-
The Future of Terraform: ClickOps
We have a comparison of the main tools we looked into, for interest: https://github.com/volvo-cars/lingon/blob/main/docs/comparison.md
- Testing terraform code
-
How to parse a Kubernetes YAML in Go?
Shameless plug: We had tons of yaml to convert to Go so we built a library for it, here is an example on how to use it with CRDs https://github.com/volvo-cars/lingon/tree/main/docs/kubernetes/crd. If you are in a rush or it's more of a one-off, you can use this webapp to convert it from yaml to Go https://lingonweb.bisconti.cloud There might be a bit of documentation to read and not all CRDs are currently supported, open an issue if that is the case.
tfk8s
-
Is it normal to get by Terraform's Local Exec?
You can use tfk8s to autogenerate hcl from k8s yaml. It's not a random project, it's by a Hashicorp employee, one of the maintainers of the k8s provider.
What are some alternatives?
tpm - 🛠️ A package manager for Terraform providers
terraform-kubernetes-manifests - Terraform modules for managing Kubernetes manifests
terracove - Recursively test a directory tree for Terraform diffs and coverage
amazon-cloudwatch-container-insights - CloudWatch Agent Dockerfile and K8s YAML templates for CloudWatch Container Insights.
tfupdate - Update version constraints in your Terraform configurations
k2tf - Kubernetes YAML to Terraform HCL converter
togomak - A declarative pipeline orchestrator with the magic of HCL as a configuration language, inspired from Terraform's architecture.
terraformer - CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
droplets - Droplets is a platform for Gophers.
jk - Configuration as Code with ECMAScript
yaml - A better way to marshal and unmarshal YAML in Golang
compose-generator - 🐳 Easy to use cli tool to generate Docker Compose configurations