| ec2_architecture |
ec2 instance architecture |
string |
"x86_64" |
no |
| ec2_ebs_volume_size |
ec2 ebs volume size |
number |
15 |
no |
| ec2_instance_type |
ec2 instance type |
string |
"t3.large" |
no |
| ec2_spot_instance_enabled |
use ec2 spot instances (cheaper but can be terminated at any time) |
bool |
false |
no |
| ec2_spot_instance_price |
ec2 spot instance price (adjust this for the instance type if using spot instances) |
string |
"0.01" |
no |
| mc_admins |
A map of admins where the key is the UUID and the value is the username |
list(object({ uuid = string name = string level = number bypassesPlayerLimit = bool })) |
[] |
no |
| mc_allocated_memory |
The amount of memory allocated to the Minecraft server java runtime in MB |
number |
1024 |
no |
| mc_allow_flight |
Whether flight is allowed on the Minecraft server |
bool |
false |
no |
| mc_allow_nether |
Whether the nether is allowed on the Minecraft server |
bool |
true |
no |
| mc_custom_seed |
Specify a custom seed for the Minecraft server (a random seed will be used if not specified) |
string |
"" |
no |
| mc_difficulty |
The difficulty for the Minecraft server |
string |
"easy" |
no |
| mc_enable_command_block |
Whether command blocks are enabled on the server |
bool |
false |
no |
| mc_force_gamemode |
Whether to force the game mode on the Minecraft server |
bool |
false |
no |
| mc_game_mode |
The game mode for the Minecraft server |
string |
"survival" |
no |
| mc_generate_structures |
Whether structures are generated in the Minecraft server |
bool |
true |
no |
| mc_hardcore |
Whether hardcore mode is enabled on the Minecraft server |
bool |
false |
no |
| mc_level_name |
The name of the level for the Minecraft server |
string |
"world" |
no |
| mc_level_type |
The type of level for the Minecraft server (: character must be double escaped with a backslash) |
string |
"minecraft\\:normal" |
no |
| mc_max_players |
The maximum number of players for the Minecraft server |
number |
20 |
no |
| mc_max_world_size |
The maximum world size for the Minecraft server |
number |
29999984 |
no |
| mc_name |
The name of the Minecraft server |
string |
"Minecraft Server" |
no |
| mc_player_idle_timeout |
The idle timeout for the Minecraft server (0 to disable) |
number |
0 |
no |
| mc_pvp |
Whether PVP is enabled on the server |
bool |
true |
no |
| mc_resource_pack |
The resource pack for the Minecraft server |
string |
"" |
no |
| mc_simulation_distance |
The simulation distance for the Minecraft server |
number |
12 |
no |
| mc_spawn_animals |
Whether animals spawn on the Minecraft server |
bool |
true |
no |
| mc_spawn_monsters |
Whether monsters spawn on the Minecraft server |
bool |
true |
no |
| mc_spawn_npcs |
Whether NPCs spawn on the Minecraft server |
bool |
true |
no |
| mc_view_distance |
The view distance for the Minecraft server |
number |
32 |
no |
| mc_whitelist_enabled |
Whether the whitelist is enabled on the Minecraft server |
bool |
false |
no |
| mc_whitelisted_users |
A map of whitelisted users where the key is the UUID and the value is the username |
list(object({ uuid = string name = string })) |
[] |
no |
| minecraft_version |
The version of Minecraft Java edition to install, if not specified the latest version will be installed |
string |
"" |
no |
| notification_webhook_url |
The URL of the Discord webhook to send notifications to |
string |
"https://webhook.site/87aba66d-bdaa-4337-85cf-7ef180f24146" |
no |
| region |
AWS region |
string |
"eu-west-2" |
no |
| s3_save_bucket_name |
The S3 bucket name to save the Minecraft server data |
string |
n/a |
yes |
| s3_save_bucket_versioning |
Whether to enable versioning on the S3 bucket on first creation |
string |
"Enabled" |
no |
| server_port |
The port the server will run on |
number |
25565 |
no |
| vpc_subnet_cidr_block |
value of the vpc cidr block for the public subnet |
string |
"172.31.0.0/16" |
no |