Skip to content

lovethebomb/terraform-factorio-server-openstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-factorio-server-openstack

This is an opiniated and incomplete project, mainly created to play with Terraform and SaltStack in masterless mode.

The provider used is OpenStack, mainly based on OVH's OpenStack offer. This repository is based on the work of @yanndegat, in terraform-ovh-common.

Requirements

  • openrc.sh

You'll need an openrc.sh file, filled manually or provided directly from Horizon, the OpenStack dashboard.

A sample file is provided as reference.

Feel free to edit the provided variables in variables.tf or overwrite them.

  • Edited Pillar variables
cp pillar/factorio-example.sls pillar/factorio.sls

Edit the variables in the pillar to secure your server.

Usage

terraform apply

Factorio

The server expects a savegame by default, at location /opt/factorio/saves/latest.zip

The factorio server can be controlled by a systemd unit, described in salt/systemd/factorio.service:

service factorio start/stop

About

Terraform & SaltStack managed headless factorio server deployment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published