Would you like to add these related resources?
Import into a CloudFormation Stack (What is this?)
Enter the details below to create a CloudFormation Stack containing the selected resources.
You can also download the template only.![]() |
Compute |
|
EC2 Lightsail Lambda Batch Elastic Beanstalk EC2 Image Builder App Runner |
![]() |
Containers |
|
ECR ECS EKS |
![]() |
Storage |
|
S3 EFS FSx Glacier Storage Gateway Backup |
![]() |
Database |
|
RDS DynamoDB ElastiCache Neptune Redshift QLDB DocumentDB Timestream MemoryDB |
![]() |
Migration & Transfer |
|
Migration Hub Database Migration Service Transfer DataSync |
![]() |
Networking & Content Delivery |
|
VPC CloudFront Route 53 API Gateway Direct Connect App Mesh Cloud Map Global Accelerator VPC IPAM |
![]() |
Developer Tools |
|
CodeStar CodeCommit CodeArtifact CodeBuild CodeDeploy CodePipeline Cloud9 X-Ray FIS |
![]() |
Robotics |
| RoboMaker |
![]() |
Blockchain |
| Managed Blockchain |
![]() |
Satellite |
| Ground Station |
![]() |
Management & Governance |
|
Organizations CloudWatch Auto Scaling CloudTrail Config OpsWorks Service Catalog Systems Manager AppConfig License Manager Prometheus Resilience Hub Incident Manager |
![]() |
Media Services |
|
Elastic Transcoder MediaConnect MediaConvert MediaLive MediaPackage MediaStore Interactive Video Service Nimble Studio |
![]() |
Machine Learning |
|
SageMaker CodeGuru DevOps Guru Forecast Fraud Detector Kendra Lex Rekognition Panorama HealthLake Lookout For Vision Lookout For Equipment Lookout For Metrics |
![]() |
Analytics |
|
Athena EMR OpenSearch Kinesis QuickSight Data Pipeline Glue Lake Formation MSK DataBrew FinSpace |
![]() |
Security, Identity, & Compliance |
|
IAM Resource Access Manager Cognito Secrets Manager GuardDuty Inspector Macie Single Sign-On Certificate Manager KMS CloudHSM Directory Service WAF & Shield Security Hub Detective Audit Manager Signer |
![]() |
AWS Cost Management |
|
Cost Explorer Budgets |
![]() |
Front-end Web & Mobile |
|
Amplify AppSync Device Farm Location Service |
![]() |
Application Integration |
|
Step Functions AppFlow EventBridge Amazon MQ SNS SQS SWF Managed Apache Airflow |
![]() |
Business Applications |
|
Connect Pinpoint SES |
![]() |
End User Computing |
|
WorkSpaces AppStream WorkLink |
![]() |
Internet of Things |
|
Core 1-Click Analytics Device Management Events Greengrass SiteWise Things Graph |
![]() |
Game Development |
| GameLift |
![]() |
Other |
|
SimpleDB Resource Groups Service Quotas Cost & Usage Reports |
Azure
GCP
| Compute | Compute Engine, GKE |
| Storage | Cloud Storage, NetApp Volumes |
| Networking | VPC Network, Cloud DNS, Load Balancing, Cloud NAT, Cloud CDN, Certificate Manager, Cloud VPN, Cloud Interconnect |
| Database | Cloud SQL, Cloud SQL Databases, Firestore, Memorystore Redis, Memorystore Memcached, Cloud Spanner, Cloud Bigtable |
| Serverless | Cloud Functions, Cloud Run, Cloud Scheduler, Cloud Tasks, Cloud Composer, API Gateway, Eventarc, Workflows |
| Messaging | PubSub |
| IAM | Cloud IAM, Resource Manager |
| Security | Secret Manager, Cloud KMS, Cloud Armor, Cloud IAP |
| DevTools | Cloud Build, Container Registry, Artifact Registry, Cloud Deploy, Source Repositories |
| Operations | Cloud Logging, Cloud Monitoring |
| Analytics | Cloud Dataflow, Cloud Dataproc |
OCI
| Compute | Compute |
| Networking | Networking |
| Storage | Block Volume, Object Storage |
| Database | Database |
- 1Introduction
- 2Credentials
- 3Parameters
- 4Settings
Welcome to Former2!
Former2 allows you to generate Infrastructure-as-Code outputs from your existing resources within your AWS account and Azure subscription. By making the relevant API calls, Former2 will scan across your infrastructure and present you with the list of resources for you to choose which to generate outputs for.
For AWS, you will need to install the Former2 Helper browser extension in order to have support for all AWS services. The extension exists to bypass a lack of CORS on some services, such as S3 and IAM. For Azure, no browser extension is required.
| Install Former2 Helper for Google Chrome | |
| Install Former2 Helper for Mozilla Firefox | |
| Install Former2 Helper for Microsoft Edge |
If you have any questions, bugs or feature requests please raise an issue via GitHub.
- 1Introduction
- 2Credentials
- 3Parameters
- 4Settings
Enter your IAM credentials:
Enter your Azure credentials:
Enter your GCP credentials:
Enter your OCI credentials:
AWS: 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.
Azure: You will need a service principal with the Reader role at the subscription scope. For import features, assign Contributor. Store the Tenant ID, Client ID, and Client Secret from your app registration.
GCP: Create a service account with the Viewer role. Generate a JSON key and paste it above. Set your Project ID.
OCI: Create an API signing key. Set Tenancy OCID, User OCID, fingerprint, and paste the private key PEM.
- 1Introduction
- 2Credentials
- 3Parameters
- 4Settings
Parameters
For AWS, you can optionally include your own CloudFormation stack parameters by adding them below. If the default value is set, !Ref or !Sub may be used to reference these parameters in the output if the values match.
For Azure, these parameters are exported as ARM template parameters with matching default values.
| Name | Type | Default Value |
|---|
- 1Introduction
- 2Credentials
- 3Parameters
- 4Settings
Account Scanning
Use the below button to pre-populate all categories by triggering a scan for the AWS account or Azure subscription:
CloudFormation / ARM Spacing
Change your preference of the number of spaces for CloudFormation or ARM template output:
Logical ID Strategy
Change your preference for the naming of Logical IDs:
Default Output
Change your preference for the default output language:
Irrelevant Resources
When enabled, this setting will skip resources considered irrelevant (currently only CloudWatch Log Streams):
Related Resources
When enabled, this setting will suggest resources related to the ones you are adding (requires account scan to work effectively):
Add All Resources
Use the below button to add all scanned resources to the outputs (not recommended):
Save / Load Settings
Save or load a file containing all configured parameters and settings (except credentials):
Programming Language
Change your preference for the output programming language of CDK or Pulumi outputs:
Default Resources
When enabled, this setting will include default resources such as default VPCs/VNets and their subnets:
Search results will be limited to only services you have visited. To search across all services in your account, perform an account scan and retry your search.
Generate Architecture Diagrams with TerraVision
TerraVision creates professional cloud architecture diagrams from your Terraform code. It supports AWS, Azure, and GCP resources with official cloud provider icons.
pip install terravision
# Generate diagram from downloaded Terraform
terravision draw --source ./path-to-download --show
TerraVision supports multiple output formats:
--format png (default),
--format svg,
--format drawio,
--format pdf,
--format html (interactive)
--simplified — High-level view without networking details
--ai-annotate ollama — Add AI-generated labels (local LLM)
--format html — Interactive clickable diagram
Generate Architecture Diagrams with Graphviz
Graphviz is an open-source graph visualization tool. Former2 generates a DOT file that you can render into PNG, SVG, PDF, or other formats.
# macOS brew install graphviz # Ubuntu/Debian sudo apt-get install graphviz # Windows choco install graphviz
dot -Tpng former2-output.dot -o diagram.png dot -Tsvg former2-output.dot -o diagram.svg dot -Tpdf former2-output.dot -o diagram.pdf
-Tpng — Raster image (default)
-Tsvg — Scalable vector graphics
-Tpdf — PDF document
-Tgif — GIF image
-Tjpg / -Tjpeg — JPEG image
-Grankdir=LR — Horizontal layout (default: top-to-bottom)
-Gdpi=150 — Higher resolution output
-Gsplines=ortho — Orthogonal edge routing
Preview
DOT content will appear here. Use dot -Tsvg to render.
This feature is not yet ready (but I'm working on it!)






















