standard-project
aoggz/standard-project/gitlab
Terraform Module
HCL
GITLAB
Terraform module to provision a GitLab project with sensible default settings
Install
module "standard-project" {
source = "aoggz/standard-project/gitlab"
version = "0.10.5"
}
README
terraform-gitlab-standard-project Terraform module to provision a GitLab project with sensible default settings
Inputs (14)
| Name | Type | Description | Default |
|---|---|---|---|
| description | string | Description of project | required |
| path | string | Path of project | required |
| parent_id | string | Id of parent group | required |
| slack_webhook_url | string | Webhook URL to use for Slack service integration | required |
| name | string | Name of project | required |
| only_allow_merge_if_pipeline_succeeds | bool | Merges can only succeed if a pipeline exists and succeeds | true |
| project_push_rules_branch_name_regex | string | Required branch name. Only used if project_push_rules_enabled = true | "^(release\\/\\d+\\.\\d+)|((feature|hotf |
| repo_shared_runners_enabled | bool | Whether shared runners are enabled for the gitlab_project | true |
| project_push_rules_commit_message_regex | string | Required commit message syntax. Only used if project_push_rules_enabled = true | "^(Merge)|((ci|chore|docs|feat|feature|f |
| merge_method | string | Merge method to use on merge requests | "merge" |
| project_push_rules_enabled | bool | Whether push rules will be created | true |
| master_branch_protection_enabled | bool | Whether master branch protection is enabled | true |
| release_branch_protection_enabled | bool | Whether release/* branch protection is enabled | true |
| repo_destruction_protection_disabled | bool | Whether gitlab_project resource is protected from distruction | false |
Outputs (1)
gitlab_project_id — Id of created GitLab projectResources (6)
gitlab_branch_protectiongitlab_projectgitlab_project_push_rulesgitlab_service_slackgitlab_tag_protectionrandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version0.10.5
Cloud GITLAB
★ Stars0
Forks2
Total downloads35.6k
Inputs14
Outputs1
Resources6
LicenseMIT
Namespaceaoggz
Updated