-
Notifications
You must be signed in to change notification settings - Fork 44
/
variables.tf
201 lines (185 loc) · 6.93 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
variable backup_container_sleep_minutes {
type = number
default = 1
}
variable container_image_tag {
type = string
default = ""
}
variable custom_alert_enabled {
type = bool
default = false
}
variable custom_alert_query {
type = string
default = ""
}
variable custom_alert_subject {
type = string
default = ""
}
variable location {
type = string
default = "westeurope" # Amsterdam
}
variable enable_auto_startstop {
type = bool
default = false
}
variable enable_backup {
type = bool
default = false
}
variable enable_log_filter {
type = bool
default = false
description = "Enable log filter (bukkit/paper/spigot) that is configured to hide chat messages for improved privacy, and hide plugin stats"
}
variable log_filter_jar {
default = "https://media.forgecdn.net/files/3106/184/ConsoleSpamFix-1.8.5.jar"
}
variable minecraft_bedrock_config {
type = map
default = {}
}
variable minecraft_bedrock_ops {
type = list
default = []
description = "Bedrock requires users to be specified as XUID (XBox Live User ID)"
}
variable minecraft_bedrock_members {
type = list
default = []
description = "Bedrock requires users to be specified as XUID (XBox Live User ID)"
}
variable minecraft_config {
type = map
default = {
primary = {
allow_ops_only = false
container_image_tag = "latest"
environment_variables = {
# https://github.com/itzg/docker-minecraft-server#allow-nether
ALLOW_NETHER = true
ANNOUNCE_PLAYER_ACHIEVEMENTS = "true"
# https://github.com/itzg/docker-minecraft-server#difficulty
DIFFICULTY = "easy"
# https://github.com/itzg/docker-minecraft-server#enable-command-block
ENABLE_COMMAND_BLOCK = true
EULA = true
ICON = null # "https://raw.githubusercontent.com/geekzter/azure-minecraft-docker/main/visuals/aci.png"
MAX_PLAYERS = 10
MODS = null
# https://github.com/itzg/docker-minecraft-server#game-mode
# https://minecraft.gamepedia.com/Gameplay#Game_modes
MODE = "creative"
# https://github.com/itzg/docker-minecraft-server#message-of-the-day
MOTD = "Minecraft Server powered by Docker and Azure Container Instance"
# Use these settings over server properties every time the container starts
OVERRIDE_SERVER_PROPERTIES = true
# https://github.com/itzg/docker-minecraft-server#snooper
SNOOPER_ENABLED = "false"
TYPE = "PAPER"
# https://github.com/itzg/docker-minecraft-server#versions
VERSION = "LATEST"
}
minecraft_server_port = 25565
start_time = ""
stop_time = "00:01"
vanity_hostname_prefix = "minecraft"
}
}
}
# https://github.com/itzg/docker-minecraft-server#opadministrator-players
variable minecraft_ops {
type = list
default = []
}
# https://github.com/itzg/docker-minecraft-server#timezone-configuration
variable minecraft_timezone {
type = string
default = "Europe/Amsterdam"
}
# https://github.com/itzg/docker-minecraft-server#whitelist-players
variable minecraft_users {
type = list
default = []
description = "Java & Bedrock allow list works with regular usernames / gamer tags"
}
variable provisoner_email_address {
type = string
default = ""
}
variable resource_suffix {
description = "The suffix to put at the of resource names created"
default = "" # Empty string triggers a random suffix
}
variable run_id {
type = string
default = ""
}
variable solution_contributors {
type = list
default = []
description = "Object ID's of security principals that are designated Contributors"
}
variable solution_operators {
type = list
default = []
description = "Object ID's of security principals that are designated Operators"
}
variable solution_readers {
type = list
default = []
description = "Object ID's of security principals that are designated Readers"
}
variable start_time {
default = "07:00"
description = "Daily (weekdays) start time in hh:mm:ss format"
}
variable start_time_weekend {
default = "07:00"
description = "Daily (weekdays) start time in hh:mm:ss format"
}
variable stop_time {
default = "00:01"
description = "Daily (weekdays) start time in hh:mm:ss format"
}
variable stop_time_weekend {
default = "00:01"
description = "Daily (weekdays) start time in hh:mm:ss format"
}
variable subscription_id {
type = string
default = ""
}
variable tenant_id {
type = string
default = ""
}
# https://support.microsoft.com/en-us/topic/microsoft-time-zone-index-values-14d39245-e55b-965d-05e6-7d9ea80e885e
variable timezone {
type = string
default = "W. Europe Standard Time"
}
variable vanity_dns_zone_id {
type = string
default = ""
}
variable vanity_hostname_prefix {
type = string
default = "minecraft"
}
variable workflow_sp_application_id {
description = "Application ID of Logic App Connection Service Principal"
default = ""
}
variable workflow_sp_application_secret {
description = "Password of Logic App Connection Service Principal"
default = ""
sensitive = true
}
variable workflow_sp_object_id {
description = "Object ID of Logic App Connection Service Principal"
default = ""
}