-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
61 lines (49 loc) · 1.03 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 "app" {
description = "The app name"
default = "csgo"
}
variable "env" {
description = "The environment for the current application"
default = "prod"
}
variable "subnet_id" {
description = "The subnet id in which to deploy the server. It must be a public subnet."
validation {
condition = coalesce(var.subnet_id, "") != ""
error_message = "subnet_id is required."
}
}
variable "tickrate" {
description = "The server tickrate, defaults to 64"
default = 64
}
variable "instance_type" {
description = "AWS Instance Type"
default = "t3.medium"
}
variable "gslt" {
description = "Steam Token"
default = ""
validation {
condition = var.gslt != ""
error_message = "gslt is required."
}
}
variable "max_players" {
default = "32"
}
variable "slack_webhook_url" {
default = ""
}
variable "sv_password" {
default = ""
}
variable "sv_contact" {
default = ""
}
variable "sv_tags" {
default = "64-tick,casual,dust2,ZRP"
}
variable "sv_region" {
default = "255"
}