mlops-club / awscdk-minecraft

An AWS CDK package written in Python for deploying an entire Minecraft Server Platform-as-a-Service
Other
13 stars 4 forks source link

provision the minecraft server #13

Closed mathematicalmichael closed 1 year ago

mathematicalmichael commented 1 year ago

this extends our stack in a few ways:

basically everything an API will need to start/stop the server itself and provide a connection URL.

send

{
  "command": "deploy"
}

or destroy

to a step function and the EC2 instance will be created.

also testable via local docker-compose file in resources/

still to-do:

mathematicalmichael commented 1 year ago

some future cleanup:

/home/runner/work/awscdk-minecraft/awscdk-minecraft/awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:1:1: D100 Missing docstring in public module

/home/runner/work/awscdk-minecraft/awscdk-minecraft/awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:11:1: D101 Missing docstring in public class

/home/runner/work/awscdk-minecraft/awscdk-minecraft/awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:20:1: D205 1 blank line required between summary line and description
/home/runner/work/awscdk-minecraft/awscdk-minecraft/awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:20:1: D400 First line should end with a period

/home/runner/work/awscdk-minecraft/awscdk-minecraft/awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:72:1: D103 Missing docstring in public function

awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:1:0: C0114: Missing module docstring (missing-module-docstring)

awscdk-minecraft/src/cdk_minecraft/deploy_server_batch_job/state_machine.py:11:0: C0115: Missing class docstring (missing-class-docstring)