Skip to content

Download the latest version of a module

GET
/api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}

Downloads the latest version of a specified module. This feature was introduced in GitLab 16.7.

id
required
One of:
string

The ID or full path of a project

module_name
required
string

Module name

Example
infra-registry
module_system
required
string

Module system

Example
aws
terraform-get
string
nullable
Allowed values: 1

Terraform get redirection flag

No Content

Bad Request

Unauthorized

Forbidden

Not found