This is very helpful tools for those who already implemented their infrastructure and wish to convert the way of infrastructure management into code base instead of configure via console. Without the help of Former2, you may need to import your resources back to code either CloudFormation or Terraform manually, which may also lead to human mistake or lead to a lot of testing time to ensure the new infrastructure as code are fully compatible and synchronize with your current resources.
Visit former2.com to start.
You will need an IAM key pair to authenticate your requests. If you are not planning on importing resources directly, it is recommended that you provide only read access with these credentials and suggest you assign the ReadOnlyAccess policy. If you intend to use the Import feature, you should grant appropriate permissions to create the stack.
Once authenticated you can navigate via the dashboard or sidebar to specific services, select the resources to add to your outputs and finally click the “Generate” button at the top of the screen.
The following outputs are currently supported:
- CDK (Cfn Primitives) – TypeScript, Python, Java, C#
- CDK for Terraform – TypeScript
- Pulumi – TypeScript
- Diagram – embedded version of draw.io
Overall, I find out Former2 really helpful as it’s a really great tools for those who try to convert their existing infrastructure into code as a backup or upgrading the way of managing the infrastructure.
But bear in mind that this tools only help you to export your infrastructure only, but not the configuration you done in the system. So for those bootstrapped script that you run when you start up your ec2, you may need to code it back manually. But Former2 already help you solve most of the conversion and exporting job which is really handy for most of the devops engineer.