-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
34 lines (28 loc) · 787 Bytes
/
variables.tf
File metadata and controls
34 lines (28 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Variables for the GitLab module
variable "gitlab_groups" {
description = "List of GitLab groups to manage."
type = any
}
variable "gitlab_projects" {
description = "List of GitLab projects to manage."
type = any
}
variable "tier" {
type = string
description = "Gitlab tier"
default = "free"
validation {
condition = contains(["free", "premium", "ultimate"], lower(var.tier))
error_message = "The tier value must be one of `free`, `premium`, `ultimate`."
}
}
variable "gitlab_token" {
description = "GitLab token for API access"
type = string
default = "xxxxx"
}
variable "gitlab_base_url" {
description = "GitLab token for API access"
type = string
default = "https://gitlab.com/api/v4/"
}