GitLab API icon

GitLab API

Gitlab

Actions1062

Terraform_registry → getApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystem*moduleVersionFile

AI-generated

Summary

Fetches a file from a Terraform module version in the GitLab Package Registry.

Inputs

  • module_namespace (required) — Group's ID or slug (path parameter).
  • module_name (required) — Name of the Terraform module (path parameter).
  • module_system (required) — Module system (e.g., 'terraform') (path parameter).
  • module_version (required) — Version of the module (query parameter).
  • skipAuthentication — If true, the request will not use the configured GitLab API credentials.
  • authentication — Credential to use for authentication (hidden; defaults to 'gitlabApi').
  • baseUrl — Base URL for GitLab instance (defaults to 'https://gitlab.com').
  • method — HTTP method to use (defaults to 'GET').

Output shape

object

Returns the file data as supplied by the GitLab API endpoint for the requested Terraform module file (typically the raw file content).

Links

Discussion