vatertime / minecraft-spot-pricing

Cloudformation template to deploy a Minecraft server
MIT License
140 stars 84 forks source link

Cannot click-through template with defaults since MaxPlayers, ViewDistance added #14

Closed javabrett closed 2 years ago

javabrett commented 2 years ago

Since parameters MaxPlayers and ViewDistance, optional, type Integer were added, it is no longer possible to mostly click-through the template with defaults, then launch. If you do, you will be met by one of these errors:

Parameter 'ViewDistance' must be a number.
Parameter 'MaxPlayers' must be a number.

It looks like CloudFormation templates make it difficult to use the MaxPlayersProvided and ViewDistanceProvided conditions approach - at some point the no-default validation fails regardless of the condition.