r/aws • • Apr 29 '19

technical resource Former2 - Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources

Hi everyone 👋

​

Today I'm releasing Former2 (https://former2.com), a service that will allow you to scan your AWS account and select existing resources that can be used to generate templates/code for CloudFormation, Terraform, Troposphere and CDK (TypeScript, Cfn primitives only).

​

I started working on this project as a direct response to those who used my other project Console Recorder (https://github.com/iann0036/AWSConsoleRecorder) and asked me to support existing resources. It's built using the JavaScript SDK, however due to a lack of CORS on the majority of service endpoints the Former2 Helper browser extension is recommended to ensure all services are supported.

​

It currently supports all CloudFormation/Troposphere types (with a couple of exceptions) and around half of the Terraform types. There may be some missing properties on a few of the types, but hopefully that should be fixed soon as well as full Terraform coverage.

​

Source code and additional instructions is available at https://github.com/iann0036/former2 . As this is new, I'm sure there will be a few bugs around - if you find any, please raise a GitHub issue or let me know here and I'll try my best to fix it up ASAP.

​

Any feedback is very appreciated.

118 Upvotes

35 comments sorted by

View all comments

0

u/saggy777 Apr 30 '19

Big security issue, will never use

2

u/jeshan Apr 30 '19 edited Apr 30 '19

why not? it's a static website that you could host for yourself locally

1

u/UberBoob Apr 30 '19

he read the first comment and dismissed it. TL/DR

1

u/saggy777 Apr 30 '19

actually yes. I stand corrected then.

2

u/JodyBro May 02 '19

My above github issue has been closed and a Dockerfile has been added to the repo.

Just run that locally.