former2
terracognita
former2 | terracognita | |
---|---|---|
11 | 14 | |
2,140 | 2,098 | |
- | 1.0% | |
7.6 | 3.4 | |
about 2 months ago | 16 days ago | |
JavaScript | Go | |
MIT License | 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.
former2
-
Top 10 terraform tools you should know about.
Former2 is a tool that automates the creation of Infrastructure-as-Code (IaC) scripts from existing AWS resources. It utilizes the AWS JavaScript SDK to scan the user’s AWS infrastructure, identifying all available resources. Users can then select from this list which resources they want to include in their IaC outputs. This process simplifies the task of writing IaC scripts, especially for complex environments, by directly converting current AWS configurations into ready-to-use code. Former2 is particularly useful for documenting existing infrastructure or for migrating manually created resources into an IaC framework.
-
[Question] Cloud formation Template Import Resources tools
More info: https://github.com/iann0036/former2
- former2
-
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 there a way to turn a existing cloudformation template into a terraform file?
-
Overwhelmed by AWS
I have never tried out this tool, but maybe it's worth checking: you could create all the stuff via AWS Console in a sandbox environment and then try to use former2. Nothing autogenerated will ever be good enough compared to handcrafted, but it should give you a nice starting point without much effort.Such a tool can not be expected to work reliably. Thankfully, you need to cover only classic, foundational services like EC2, ELB, and IAM, so I would expect them to work properly for those use cases.
-
how reliable is it to generate a cloud formation automatically from an existing AWS environment?
Author of Former2 here.
-
Disaster Recovery with Former2?
I've heard of a few people setting up pipelines that use the CLI with the `ALL` services option to generate inventories of their systems, but the generated template would almost certainly not work out of the box due to:
- tool to log into AWS and generate Terraform code
-
Current infrastructure as code
Not quite: a command line tool is also available: https://github.com/iann0036/former2/blob/master/cli/README.md
terracognita
- 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?
-
Deactivated SFTP servers from AWS transfer family but still getting charged - can you delete a server but still save all configurations/settings somewhere to spin it up easily later?
If you still want to go that way, stuff like the import command and terracognita exist. There's more solutions out there, those are just what came to mind immediately.
What are some alternatives?
terraformer - CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
aws-nuke - Nuke a whole AWS account and delete all its resources.
pulumi-aws - An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
terraforming - Export existing AWS resources to Terraform style (tf, tfstate) / No longer actively maintained
terraboard - :earth_africa: :clipboard: A web dashboard to inspect Terraform States
aws-multi-account-viewer - Serverless app designed for any customer with two or more accounts to view resources across accounts/regions in simple single pane of glass website
Azure-Terraform-Scripts - Terraform scripts on Azure for Windows and Linux VM's
driftctl - Detect, track and alert on infrastructure drift
inframap - Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
cloud-nuke - A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it
azure-terrafy-handsonlab - Azure Terrafy hands on lab