Download a Terraform module file
One step with GitLab. We can help you get access.
Look something up
Download a Terraform module file
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Terraform API lets you download a Terraform module file in a single step (GET /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}/file). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I download the zip of a Terraform module at a specific version?
- Can I fetch a module file from the Terraform registry package path?
Say it to your AI assistant
- Download module {module_name} from {module_namespace} for {module_system} version {module_version}.
- Get the Terraform module file {module_name} in {module_system} {module_version}.
For your developer
GET /api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/{module_version}/file in GitLab REST Terraform API. Full spec on APIs.io.