A VS Code extension that registers a sticky chat participant @roostagent and assists users in generating Terraform IaC from CPP modules hosted in GitLab.
Features
- Discover CPP Terraform modules from GitLab groups/subgroups
- Rank modules by relevance using Copilot
- Generate module metadata (variables, outputs, resources, providers)
- Scaffold Terraform directory structure
- Generate structured prompts for IaC code generation
- Tag resolution via GitLab Tags API
Getting Started
- Install the extension in VS Code
- Open a workspace folder
- Use
@roostagentin the chat panel - Describe the Azure resources you need
- Provide your GitLab PAT and group URL when prompted
- Review ranked modules and download selected ones
- The extension scaffolds Terraform structure and generates prompts
Commands
| Command | Description |
|---|---|
cppAgent.helloWorld |
Hello World test command |
cppAgent.downloadAllRankedModules |
Download all ranked modules |
cppAgent.downloadAllRankedModulesGitlab |
Download all ranked modules (GitLab) |
cppAgent.selectRankedModules |
Select specific modules to download |
Development
npm install
npm run compile
# Press F5 in VS Code to launch Extension Development Host
License
MIT