GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation fetches Terraform module information from the GitLab API using a specific module namespace, module name, and module system. It is useful for users who want to retrieve detailed metadata about Terraform modules hosted on GitLab, such as for infrastructure automation or module management workflows.

Use Case Examples

  1. Retrieve details of a Terraform module by specifying its namespace, name, and system to integrate module data into an infrastructure-as-code pipeline.
  2. Automate the validation or documentation of Terraform modules by fetching their metadata from GitLab within an n8n workflow.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters used in the API request path to specify the Terraform module details.

Output

JSON

  • response - The JSON response from the GitLab API containing the Terraform module information.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the module_namespace, module_name, and module_system path parameters are correctly specified; incorrect values will result in API errors or no data returned.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the Terraform module data.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion