GitLab API

GitlabTool

Actions1095

Terraform_registry → putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem*moduleVersionFileAuthorize

AI-generated

Summary

Sends a request to authorize access to a Terraform module version’s file endpoint in GitLab. Set the project ID or full path, module name, and module system; the request uses the configured HTTP method and GitLab base URL.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab instance URL, defaulting to https://gitlab.com. The source notes that the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method: GET, POST, PUT, DELETE, HEAD, or PATCH; defaults to GET.
  • 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.

Output shape

The GitLab API response for the authorization request.

The request targets /api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/*module_version/file/authorize. The operation declares a required body parameter, but exposes no body fields in the supplied properties; the response schema is not specified.

Links

Discussion