GitLab API icon

GitLab API

Gitlab

Actions1062

Terraform_registry → putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem*moduleVersionFileAuthorize

AI-generated

Summary

Authorizes a file upload for a Terraform module in the GitLab Package Registry. Sends a request to the GitLab API endpoint /api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/*module_version/file/authorize using the selected HTTP method (default GET).

Inputs

  • id (required) — The ID or full path of the GitLab project.
  • module_name (required) — Name of the Terraform module.
  • module_system (required) — Module system, e.g., aws, azure, gcp.
  • skipAuthentication — If set, skips authentication; otherwise uses the gitlabApi credential.
  • method — HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
  • baseUrl — Base URL of the GitLab instance.

Output shape

object

The JSON response from the GitLab API containing authorization details for the Terraform module file upload.

Links

Discussion