VCS
Import Terraform module from GitHub repository
Imports a module to the private registry using backend-managed VCS credential resolution. The frontend sends metadata only and the backend builds the authenticated download URL.
post/api/vcs/modules/import
Request
- Base URLhttps://api.firefly.ai/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "aws-vpc",
"providerType": "aws",
"version": "1.0.0",
"vcsId": "66169dfaf49923c0aab04510",
"repo": "infralight/infrastructure",
"branch": "main",
"path": "modules/github/repo"
}Response
Module imported successfully
Example response
{
"message": "Module imported successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.