Skip to content

nickypy/valheim-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Valheim DigitalOcean Terraform Template

Provisions a DigitalOcean droplet to run a Valheim server.

Requirements

Steps

Create a Valheim config. Make sure to update the file to your preferences:

cp ./server/valheim.sample.env ./server/valheim.env

Variables

  • region - For best performance, select one that is physically closest to you.
  • droplet_size - This is the slug property coming from the API. The default is set based on this recommendation.

A full list of slugs are available from the /v2/sizes API:

curl -XGET \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  "https://api.digitalocean.com/v2/sizes?per_page=100"

Finally, run terraform apply. You'll need to type "yes" when SSHing into your droplet for the first time.

About

Provision Valheim server on a DigitalOcean droplet with Terraform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published