Quick Start
Run your first scan and generate Terraform in 2 minutes
Get started with RepliMap in under 2 minutes.
Install RepliMap
pip install replimapScan Your Infrastructure
Run a scan to build the dependency graph of your AWS account:
replimap scan --profile prod --region us-east-1You'll see output like:
Scanning: VPC, EC2, RDS, Lambda, S3...
✓ Scanned 847 resources in 23.4s
✓ Mapped 1,203 dependenciesGenerate Terraform
Turn that scan into production-ready Terraform code:
# Preview what will be generated (dry run)
replimap clone --profile prod --mode dry-run
# Generate Terraform files
replimap clone --profile prod --mode generate --output-dir ./terraformReview Generated Code
Navigate to the output directory:
terraform/
├── main.tf # All resources
├── variables.tf # Extracted variables
├── outputs.tf # Useful outputs
├── providers.tf # AWS provider config
├── data.tf # Data sources
└── terraform.tfvars.exampleCommon Scan Options
# Scan a specific VPC
replimap scan --profile prod --scope vpc:vpc-12345678
# Scan resources by tag
replimap scan --profile prod --entry tag:Application=MyApp
# Scan from an entry point (ALB)
replimap scan --profile prod --entry alb:my-app-alb
# Use cache for faster incremental scans
replimap scan --profile prod --cacheClone with Transformations
# Clone prod to staging with cost optimization
replimap clone --profile prod \
--output-dir ./staging-tf \
--rename-pattern "prod:staging" \
--downsize \
--mode generateThe --downsize flag enables the Right-Sizer engine, which automatically reduces EC2/RDS instance sizes for non-production environments.
Visualize Your Infrastructure
Generate an interactive HTML graph:
replimap graph --profile prod --format html --output architecture.html
open architecture.htmlApply to Staging (Optional)
cd ./terraform
# Initialize Terraform
terraform init
# Review the plan
terraform plan
# Apply
terraform applyNext Steps
- CLI Reference — Full command documentation
- IAM Policy — Required AWS permissions
- Security — How we handle your data