How aafc-cloud/cloud-terrastodon works
Main Components Identification
The project consists of three main components:
• PowerShell Scripts (pwsh directory)
• Rust Core Implementation (rust directory)
• Visualization Component (visualizer directory)
• PowerShell Layer | | Rust Core | | Visualizer |
• (Infrastructure | | (Processing & | | (Interactive |
• Scanning) | | Generation) | | Rendering) |
PowerShell Layer → Rust Core:
• Azure State Data
Rust Core → PowerShell Layer:
• Generated Terraform Code
Rust Core ↔ Visualizer:
• Resource Graph Data
• User Interactions
• Azure CLI |
• ↑
• Cloud Terrastodon
• ↓
• Terraform |
Important Notes
• Modular nature of the codebase
• Clear separation between scanning, processing, and visualization
• Bidirectional flow between components
Technical Details
• Azure API integration points
• Terraform code generation pipeline
• Resource visualization pipeline
• Command processing flow
• User interaction paths