v1
latestOpenAPI 3.1.02026-07-26289714404.6 KBTemplates
Download TF module
Gets the URL of the source code for a Tofu/Terraform module. This is an API used by Tofu/Terraform to download the module when running tofu init. The URL could be found in the response header under X-Terraform-Get, and its format is "git::REPOSITORY_URL[//PATH_TO_FOLDER][?ref=GIT_REF]"
You could use this URL to clone the repository and checkout the specific git ref, and find the source in the specified folder
get/modules/v1/{organizationId}/{moduleName}/{providerName}/{version}/download
Path parameters
organizationIdstring required
moduleNamestring required
providerNamestring required
versionstring required
Response
{"stackTrail":"components:schemas:BlueprintApi.ModuleRegistryDownloadSource.Response","oasType":"schema","type":"unknown"}