Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 541 Bytes

gitlab.md

File metadata and controls

20 lines (16 loc) · 541 Bytes

Use with GitLab

Example:

./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:

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