Documentation Index
Fetch the complete documentation index at: https://docs.envzero.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before creating a GitLab template, you need a GitLab VCS connection configured in your organization. To set one up, go to Organization Settings > VCS and create a new GitLab connection. Learn more: Managing VCS ConnectionsNew Template
If you would like to create the first GitLab Integrated Template in this env zero organization, please see Create Your First Template instead.Create Template
Click ADD A NEW TEMPLATE on the top right in the Templates screen. Pick your template type, enter a name for the template, and then click NEXT.
Select VCS Connection
Select a pre-configured GitLab VCS connection from the dropdown. If no connection exists, click Add VCS Connection to create one.
Select Repository
Pick the repository containing your IaC configuration from the list of accessible GitLab projects.
Configure Source
If you would like to pull the code from a specific revision or branch, enter that in the
Revision field. Leaving this field empty will use your default branch, which is usually “master”/“main”.Enter the folder your Terraform files are located in under Terraform Folder. If your Terraform files are in the root of the repository, leave this empty.Configure Variables
Click NEXT to proceed to the variables section. Add environment and Terraform variables that you’d like to be used during deployment, and then click NEXT to go to the final “Projects” section.
Existing Template
If you would like to integrate an existing template with GitLab:- Go to the Templates screen, and click on Settings for the template you would like to integrate with GitLab.
- Click on the VCS step. From there you can click on the GitLab.com button, and integrate with GitLab as you would for a new template.
Next steps
- Gitlab Enterprise Integration - Connect a self-hosted GitLab instance.
- Managing VCS - Manage all VCS provider connections in one place.
- Standard GitHub Integration - Connect GitHub as an alternative VCS provider.
- Template Overview - Learn how templates are structured and configured.