This creates a minecraft server on Digtial Ocean
The pre-commit framework is used to manage pre-commit hooks for this repository. A few well-known hooks are provided to cover correctness, security and safety in terraform.
The examples/
directory contains the example usage of this module.
These examples show how to use the module in your project, and are also use for testing in CI/CD.
Name | Version |
---|---|
terraform | >1.2.0 |
cloudflare | >= 3.23 |
digitalocean | >= 2.22.3 |
http | >= 3.1.0 |
vault | >= 3.8.2 |
Name | Version |
---|---|
cloudflare | 4.34.0 |
digitalocean | 2.39.1 |
http | 3.4.2 |
No modules.
Name | Type |
---|---|
cloudflare_record.minecraft | resource |
cloudflare_record.minecraft_srv | resource |
digitalocean_droplet.minecraft | resource |
digitalocean_firewall.minecraft | resource |
digitalocean_project_resources.droplet | resource |
digitalocean_reserved_ip.public | resource |
digitalocean_reserved_ip_assignment.minecraft | resource |
digitalocean_ssh_key.brucellino | resource |
digitalocean_volume.minecraft_data | resource |
digitalocean_volume_attachment.minecraft | resource |
cloudflare_ip_ranges.cloudflare | data source |
cloudflare_zone.dev | data source |
digitalocean_images.selected | data source |
digitalocean_project.selected | data source |
digitalocean_regions.available | data source |
digitalocean_sizes.available | data source |
digitalocean_vpc.selected | data source |
http_http.github_ssh_key | data source |
http_http.paper_downloads | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cpus | Number of CPUs we want with the instance | number |
4 |
no |
create_droplet | n/a | bool |
false |
no |
instance_admin_user | Github user which will be made admin of the instance. Takes their ssh key from Github and adds it to the instance. | string |
"brucellino" |
no |
mem | Max memory of droplet in GB | number |
8 |
no |
paper_version | Version of PaperMC to use | string |
"1.19.4" |
no |
vpc_name | Name of the VPC to use. | string |
n/a | yes |
Name | Description |
---|---|
sizes | n/a |