Skip to content

dimmaski/terraform-aws-minecraft-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Terraform and cloud-init

Bootstrapping Ubuntu 20.04 with a Minecraft Server

Quick How-to commands

# to bootstrap the instance
terraform init
terraform apply
# to destroy
terraform destroy
# get the instance public ip
terraform show -json | jq -r '.values[].child_modules[].resources[] | select(.address == "module.ec2.aws_instance.this[0]") | .values.public_ip'
# get the private ssh key
terraform show -json | jq -r '.values[].resources[] | select(.address == "tls_private_key.example") | .values.private_key_pem'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages