terracognita
terraformer
terracognita | terraformer | |
---|---|---|
15 | 112 | |
2,271 | 13,484 | |
1.0% | 2.1% | |
2.4 | 7.6 | |
12 months ago | 13 days ago | |
Go | Go | |
MIT License | 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.
terracognita
-
Developer Tooling #001
TerraCognita | Github
- Generate Terraform code from your existing cloud infrastructure
-
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?
-
Monthly 'Shameless Self Promotion' thread - 2023/05
We also contribute to the open-source community with projects like InfraMap, that generate your infra diagram on the fly based on your tfstate or the most famous TerraCognita, a reverse Terraform.
-
Importing multiple modules at once from AWS
You can use tools like https://github.com/cycloidio/terracognita or https://github.com/iann0036/former2 to generate the terraform code for you. Then you can consolidate them and if they are simply the same type of objects with different values then you can use terragrunt to pass values to your terraform module.
- Is it possible to import existing infrastructure into Terraform then redeploy it without semantic representation?
-
terracognita - --tags syntax for aws?
https://github.com/cycloidio/terracognita/compare/master...fg-322 should fix it
-
Tools like terraformer
Terracognita
- Existing AWS resource to HCL?
terraformer
-
Using Terraform Workspace for AWS multi account archtetctures
The Terraformer tool was the biggest blessing when I had to reverse engineer our AWS stack into .tf modules.
Shoutout to the Waze team for creating it!
https://github.com/GoogleCloudPlatform/terraformer
We built out a large serverless stack on AWS, and we got a request from higher ups to convert it all into Terraform modules for portability and transparency purposes.
The Terraformer tool pulled in the entire stack and spit out the whole thing into tf files in less than 30 seconds.
Everyone was super impressed on the team lol.
- 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
What are some alternatives?
former2 - Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources.
pulumi-aws - An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
iam-policy-json-to-terraform - Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document
Azure-Terraform-Scripts - Terraform scripts on Azure for Windows and Linux VM's
inframap - Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.