GitLab API

GitlabTool

Actions1095

Terraform_registry → getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemVersions

AI-generated

Summary

Fetches the available versions of a Terraform module for a namespace, module name, and system from the GitLab Terraform Module Registry. The request uses GET by default and targets the configured base URL.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab API base URL, defaulting to https://gitlab.com. The source indicates the base URL is defined through the gitlabApi credential.
  • Method — HTTP method, default GET; the UI also offers POST, PUT, DELETE, HEAD, and PATCH.
  • module_namespace (required) — Group ID or slug that owns the module.
  • module_name (required) — Terraform module name.
  • module_system (required) — Terraform module system.

Output shape

GitLab API response for the module's available versions.

The source pack does not show response parsing or the exact response fields. The request path is /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/versions.

Links

Discussion