GitLab API icon

GitLab API

Gitlab

Actions1062

Terraform_registry → getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemVersions

AI-generated

Summary

Retrieves the list of versions for a Terraform module published to the GitLab Package Registry.

Inputs

  • module_namespace (required) — Group's ID or slug
  • module_name (required) — Module name
  • module_system (required) —
  • skipAuthentication — Skip authentication (default false)
  • authentication — Authentication method (default: gitlabApi, hidden when skipAuthentication is true)
  • baseUrl — Base URL for GitLab instance (default: https://gitlab.com)
  • method — HTTP method (options: GET, POST, PUT, DELETE, HEAD, PATCH; default: GET)

Output shape

Returns the raw JSON response from the GitLab API endpoint /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/versions, which contains an array of version objects for the specified Terraform module.

If the request fails, the node will throw an error as per n8n's HTTP request handling.

Examples

Example 1: Get versions for a Terraform module

Set module_namespace to 'my-group', module_name to 'my-module', module_system to 'terraform', leave other fields at defaults, and connect the node to a workflow.

Links

Discussion