GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs a GET request to download a Terraform module from the GitLab Terraform Registry. It is useful for automating the retrieval of specific Terraform modules by specifying the module's namespace, name, and system. Practical applications include integrating Terraform module downloads into CI/CD pipelines or infrastructure automation workflows.

Use Case Examples

  1. Download a Terraform module by specifying its namespace, name, and system to use it in automated infrastructure provisioning.
  2. Automate the retrieval of Terraform modules from GitLab to ensure consistent module versions in deployment pipelines.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method to use for the request.
Path Parameters Parameters to specify the module namespace, module name, and module system for the download request.

Output

JSON

  • data - The response data from the Terraform module download request.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the module_namespace, module_name, and module_system path parameters are correctly specified to avoid 404 errors.
  • If authentication is required, verify that the GitLab API credentials are correctly configured and valid.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion