GitLab API

GitlabTool

Actions1095

Terraform_registry → getApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem*moduleVersion

AI-generated

Summary

Retrieves a Terraform module version from a GitLab project's Terraform Module Registry using the configured HTTP method (GET by default). Supply the project ID or full path, module name, module system, and module version; optionally set the terraform-get query flag to 1 for Terraform get redirection.

Inputs

  • Skip Authentication — Defaults to false. When true, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — Defaults to https://gitlab.com. The node source indicates the effective base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request: GET (default), POST, PUT, DELETE, HEAD, or PATCH.
  • Id (required) — Project ID or full path.
  • Module name (required) — Terraform module name, for example infra-registry.
  • Module system (required) — Terraform module system, for example aws.
  • Module version (required) — Version of the module to retrieve; sent as the module_version query parameter.
  • Terraform-get — Optional query parameter; the schema allows the value 1 as the Terraform get redirection flag.

Output shape

A single HTTP API response for the requested module version.

The provided source shows the node delegates requests to an OpenAPI tool and does not specify the response body shape or whether it follows redirections.

Links

Discussion