-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
161 lines (133 loc) · 3.14 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
variable "cloud_id" {
type = string
description = "cloud-id"
default = null
}
variable "folder_id" {
type = string
description = "folder-id"
default = null
}
variable "network_create" {
type = bool
description = "create the network?"
default = true
}
variable "security_group_create" {
type = bool
description = "create security group(s)?"
default = true
}
variable "network_id" {
type = string
description = "Existing network_id(vpc-id) where resources will be created"
default = null
}
variable "network_name" {
type = string
description = "Network name"
default = "docker-machine"
}
variable "network_description" {
type = string
description = "Network description"
default = "autocreated docker-machine network"
}
variable "network_cidr" {
type = string
description = "network cidr"
default = "10.11.12.0/24"
}
variable "subnet_id" {
type = string
description = "Existing subnet id"
default = null
}
variable "default_zone" {
type = string
description = "Default availability zone"
default = "ru-central1-a"
}
variable "default_region" {
type = string
description = "Default Yandex Cloud region"
default = "ru-central1"
}
variable "purpose" {
type = string
description = "Virtual machine purpose (prod, dev, stage, etc)"
default = "docker-machine"
}
variable "username" {
type = string
description = "Initialzation username"
default = "ubuntu"
}
variable "user_pubkey_filename" {
description = "ssh public key filename"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "gitlab_url" {
type = string
description = "gitlab url"
}
variable "gitlab_registration_token" {
type = string
description = "gitlab registration token"
}
variable "gitlab_runner_tags" {
type = string
description = "gitlab runner tags"
default = ""
}
variable "worker_runners_limit" {
type = string
description = "Maximum number of parallel workers"
default = "10"
}
variable "worker_use_internal_ip" {
type = bool
description = "yandex-use-internal-ip"
default = true
}
variable "worker_image_family" {
type = string
description = "yandex-image-family"
default = "ubuntu-2204-lts"
}
variable "worker_image_id" {
type = string
description = "yandex-image-id"
default = null
}
variable "worker_cores" {
type = string
description = "yandex-cores"
default = "4"
}
variable "worker_disk_type" {
type = string
description = "yandex-disk-type"
default = "network-ssd-nonreplicated"
}
variable "worker_disk_size" {
type = string
description = "yandex-disk-size"
default = "93"
}
variable "worker_memory" {
type = string
description = "yandex-memory"
default = "8"
}
variable "worker_preemptible" {
type = bool
description = "yandex-preemptible"
default = true
}
variable "worker_platform_id" {
type = string
description = "yandex-platform-id"
default = "standard-v3"
}