generated from cyber-scot/terraform-module-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
61 lines (53 loc) · 1.49 KB
/
variables.tf
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
variable "GITLAB_TOKEN" {
type = string
description = "The token to be used to authenticate to GitLab, normally sourced via TF_VAR"
}
variable "Regions" {
type = map(string)
default = {
uks = "UK South"
ukw = "UK West"
eus = "East US"
euw = "West Europe"
}
description = "Converts shorthand name to longhand name via lookup on map list"
}
variable "env" {
type = string
description = "The env variable, for example - prd for production. normally passed via TF_VAR."
default = "prd"
}
variable "gitlab_group" {
type = string
description = "The name of the gitlab group"
default = "cyber-scot"
}
variable "gitlab_instance" {
type = string
description = "The name of the GitLab instance"
default = "gitlab.com"
}
variable "gitlab_project_name" {
type = string
description = "The name of the GitLab project"
default = "terraform-ci-cd-glue"
}
variable "loc" {
type = string
description = "The loc variable, for the shorthand location, e.g. uks for UK South. Normally passed via TF_VAR."
default = "uks"
}
variable "short" {
type = string
description = "The shorthand name of to be used in the build, e.g. cscot for CyberScot. Normally passed via TF_VAR."
default = "cscot"
}
variable "static_tags" {
type = map(string)
description = "The tags variable"
default = {
"CostCentre" = "671888"
"ManagedBy" = "Terraform"
"Contact" = "info@cyber.scot"
}
}