GitLab API icon

GitLab API

Gitlab

Actions1062

Terraform_registry → getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystem*moduleVersion

AI-generated

Summary

Retrieves a specific version of a Terraform module from the GitLab Packages Terraform Registry.

Inputs

  • module_namespace (required) — Group's ID or slug that owns the module.
  • module_name (required) — Name of the Terraform module.
  • module_system (required) — Module system (e.g., registry, provider).
  • module_version (required) — Version of the module to fetch (e.g., 1.0.0).
  • baseUrl — Base URL of the GitLab instance (default: https://gitlab.com).
  • skipAuthentication — If true, the request is made without authentication; otherwise uses the GitLab API credential.
  • method — HTTP method to use (default: GET).

Output shape

The raw JSON response from the GitLab API endpoint /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}.

On success, returns the module version metadata; on error, returns the error response from GitLab.

Links

Discussion