From 187a87534cc9ba297fda6f5c173bf8db18a23a64 Mon Sep 17 00:00:00 2001 From: Gino Messmer <8465892+ginomessmer@users.noreply.github.com> Date: Sun, 21 Sep 2025 10:10:52 +0200 Subject: [PATCH] Add minecraft version parameter --- infra/main.bicep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/main.bicep b/infra/main.bicep index 9712f95..96183d3 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -5,6 +5,8 @@ param name string = 'azmc' @description('Accept the Minecraft Server EULA.') @allowed([true]) param acceptEula bool +@description('The desired Minecraft server version') +param minecraftVersion string = 'LATEST' @description('The memory size of the server in GB. Increase for large servers or maps.') param serverMemorySize int = 3 @description('The type of server to deploy. Check the documentation for the list of supported server types: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/. Commonly used types are SPIGOT, PAPER, and FORGE.') @@ -80,6 +82,7 @@ module server 'modules/server.bicep' = { location: location acceptEula: acceptEula serverType: serverType + minecraftVersion: minecraftVersion projectName: name serverStorageAccountName: storageServer.outputs.storageAccountServerName serverShareName: storageServer.outputs.storageAccountFileShareServerName