-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
76 lines (64 loc) · 1.78 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
variable "project" {
type = string
description = "The GCP project in which the Nomad cluster will be created"
}
variable "region" {
type = string
description = "The region in which the Nomad cluster will be created"
default = "europe-west4"
}
variable "base_image" {
type = string
description = "The base image to use for the Nomad server and client nodes"
default = "ubuntu-os-cloud/ubuntu-2404-lts-amd64"
}
variable "machine_type" {
type = string
description = "Machine type to use for the Nomad server and client nodes"
default = "n1-standard-1"
}
variable "nomad_version" {
type = string
description = "Nomad version to use for the server and client nodes"
default = "1.8.0"
}
variable "nomad_datacenter" {
type = string
description = "Datacenter name for the Nomad cluster"
default = "gcp-eu"
}
variable "nomad_server_count" {
type = number
description = "Number of Nomad server nodes to create"
default = 3
}
variable "nomad_max_server_count" {
type = number
description = "Maximum number of Nomad server nodes to create"
default = 6
}
variable "nomad_client_count" {
type = number
description = "Number of Nomad client nodes to create"
default = 4
}
variable "nomad_max_client_count" {
type = number
description = "Maximum number of Nomad client nodes to create"
default = 8
}
variable "nomad_agent_port" {
type = number
description = "Port of the Nomad HTTP service"
default = 4646
}
variable "iap_client_id" {
type = string
description = "OAuth2 client ID for IAP"
sensitive = true
}
variable "iap_client_secret" {
type = string
default = "OAuth2 client secret for IAP"
sensitive = true
}