From Console Clicks to Code
Someone created resources through the AWS console? Azure portal? No problem. Cloudgeni scans your cloud accounts, finds unmanaged resources, and generates IaC code to bring them under version control.Auto-Discovery
Scans AWS, Azure, GCP, OCI for all resources
AI Code Generation
Generates proper IaC for your stack
Relationship Mapping
Understands VPC → Subnet → Instance connections
One-Click Import
Creates PR with import blocks + resource code
How It Works
What Gets Discovered
- AWS
- Azure
- GCP
- OCI
200+ resource types including:
- EC2 instances, Auto Scaling groups
- S3 buckets, EBS volumes
- RDS databases, DynamoDB tables
- VPCs, subnets, security groups
- Lambda functions, API Gateways
- IAM roles, policies, users
Resource States
Every resource gets tagged with its management state:| State | What It Means | Icon |
|---|---|---|
| DISCOVERED | Exists in cloud, not in IaC | |
| MANAGED | Already in your IaC | |
| DRIFTED | In IaC but configs don’t match |
Generated Code
Terraform
The AI generates complete, production-ready Terraform:Bicep
For Azure resources, native Bicep code:Smart Relationships
Cloudgeni understands how resources connect:When you import a resource, Cloudgeni can automatically include related resources. No more missing dependency errors.
| Relationship | Example |
|---|---|
| Contains | VPC → Subnet → Instance |
| Secures | NSG → Subnet |
| Attached | EBS Volume → EC2 Instance |
| Routes | Route Table → Internet Gateway |
Import Workflow
Step 1: Run a Scan
Step 1: Run a Scan
- Go to Cloud Resources in the dashboard
- Select your cloud account
- Click Run Scan
- Wait for discovery to complete (usually 1-2 minutes)
Step 2: Find Unmanaged Resources
Step 2: Find Unmanaged Resources
- Filter by Status: DISCOVERED
- Optionally filter by resource type, region, or tags
- Review the list of unmanaged resources
Step 3: Select Resources
Step 3: Select Resources
- Check individual resources or use Select All
- Enable Include Related to grab dependencies
- Click Import Selected
Step 4: Configure Import
Step 4: Configure Import
| Setting | Description |
|---|---|
| Repository | Where to put the generated code |
| Path | Directory within the repo |
| Format | Your IaC format (Terraform, Bicep, etc.) |
Step 5: Review & Create PR
Step 5: Review & Create PR
- Review generated code in the preview
- Check for any warnings or suggestions
- Click Create Pull Request
- Merge in your Git provider
Best Practices
Start with Standalone Resources
Import S3 buckets, storage accounts, and IAM roles first. They usually have no dependencies.
Group Related Resources
Import a VPC with all its subnets, gateways, and route tables together.
Review Before Merge
Check for hardcoded values that should be variables. Look for sensitive data.
Run Terraform Plan
After merging, run
terraform plan to verify no unexpected changes.Troubleshooting
| Issue | Fix |
|---|---|
| Resource not showing | Run a new scan. Check cloud account permissions. |
| Import failed | Verify resource still exists. Check for required attributes. |
| Missing dependencies | Enable “Include Related Resources” option. |
| Code generation error | Some complex resources need manual tweaking. Check the logs. |