Back to Terraformer

Gitlab

docs/gitlab.md

0.8.30540 B
Original Source

Use with GitLab

Example:

shell
./terraformer import gitlab --group=GROUP_TO_IMPORT --resources=projects --token=YOUR_TOKEN # or GITLAB_TOKEN in env
./terraformer import gitlab --group=GROUP_TO_IMPORT --resources=groups --base-url=https://your-self-hosted-gitlab-domain/api/v4

List of supported resources:

  • groups
    • gitlab_group_membership
    • gitlab_group_variable
  • projects
    • gitlab_branch_protection
    • gitlab_project
    • gitlab_project_membership
    • gitlab_project_value
    • gitlab_tag_protection