lingon
terraformer
lingon | terraformer | |
---|---|---|
6 | 111 | |
74 | 12,717 | |
- | 0.9% | |
9.1 | 4.9 | |
about 1 year ago | 18 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
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.
terraformer
- Terraformer: Convert Existing Infrastructure to Code with Ease
-
Automate Gitlab Repository Settings with Terraform
or, alternatively, for more complex projects, check out terraformer, a CLI tool to import/update your tfstate from existing infrastructure.
-
Top Terraform Tools to Know in 2024
Terraformer is a CLI tool developed by Google that generates Terraform files from existing infrastructure (reverse Terraform), simplifying the process of adopting Terraform in existing environments and speeding up the initial setup process. Terraformer supports multiple cloud providers, including AWS, Google Cloud, Azure, and others.
-
Terraformer + refactoring with 'moved' blocks
Looking into efficient ways to import existing infrastructure. Using Terraformer to get the everything into Terraform and then refactoring into modules, for_each, etc. using moved blocks seems like it would be a good approach. Refactoring them to use existing modules from providers will take a little work and likely going back and forth with terraform plan, and assuming many things won't translate straight across because of what resources a module might be creating and how they are creating them.
-
The Future of Terraform: ClickOps
We had thought about the ability to convert HCL to Go, but not much thought in querying existing infra to generate HCL (like terraformer). If you want to experiment building on top of Lingon then please go ahead! I’d be happy to help provide the context from Lingon.
-
How do you glue Terraform resources together?
If "ClickOps" is your starting point, as you mention, you could try creating a new scratch cloud provider account, do all your "ClickOps", then use a TF export tool (e.g., Terraformer) to see the exported TF resources to find all the references to other TF resources in the cloud resource dependency chain.
-
Strategies for converting an existing deployment to IaC?
I haven't worked with any of the ones that purport to work with AWS, but a quick Google shows terraformer and Terracognita as options - maybe look into trying those out?
-
Migration to gcp from aws.
This maybe a bit more complicated if you're not into coding/terraform but I'd use terraformer to convert all of your infrastructure from implementation to code while in AWS, then switch providers and with a bit of jiggly of the code implement your infra into gcs as IaC and keep it that way if/when you switch again.
-
Quick terraform noob question about the tfstate
Maybe terraformer could help. I never tried it personally . https://github.com/GoogleCloudPlatform/terraformer
- Possible to backup entire Okta configuration?
What are some alternatives?
tpm - 🛠️ A package manager for Terraform providers
terracognita - Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
terracove - Recursively test a directory tree for Terraform diffs and coverage
former2 - Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.
tfupdate - Update version constraints in your Terraform configurations
terraforming - Export existing AWS resources to Terraform style (tf, tfstate) / No longer actively maintained
tfk8s - A tool for converting Kubernetes YAML manifests to Terraform HCL
gardener - Homogeneous Kubernetes clusters at scale on any infrastructure using hosted control planes.
togomak - A declarative pipeline orchestrator with the magic of HCL as a configuration language, inspired from Terraform's architecture.
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
droplets - Droplets is a platform for Gophers.
aws2tf - aws2tf - automates the importing of existing AWS resources into Terraform and outputs the Terraform HCL code.