submodules/game/aws

An AWS EC2 Windows instance setup for running a game.

Providers

  • aws
  • template

Requirements

  • terraform >= 0.12

Inputs

admin_password (string)

Administrative password for the game machine

ami_owner (string)

Owner of the AMI. Can be an AWS Account ID or ‘self’

ami_prefix (string)

Prefix of the game AMI

cluster (string)

Unique name to avoid conflict

datacenter (string)

Consul/Nomad datacenter

instance_profile (string)

IAM instance profile to use

key_name (string)

The key name to use with the instance

namespace (string)

Deployment namespace that will regroup the clusters

private_key (string)

Your private key

server_class (string)

The type of work the server has to be initialized for

stage (string)

Deployment stage

subnet_ids (list(string))

An ordered list of subnets that can be used. Empty means all. New in version 1.24.

vpc_security_group_ids (list(string))

A list of security group IDs to be attached to the instance

ami_version (string)

Version prefix of the AMI to use (ex: 1.20.0 will match both 1.20.0 and 1.20.0.0 versions).

game_count (number)

Number of game servers

instance_type (string)

Instance type to use

start_services (bool)

Start services on the machine

toolbox_url (string)

Genvid Toolbox Wheel URL.

Only required if you need to update the one from the AMI. An empty value indicates to not install the toolbox.

Outputs

consul_nodes
instance_ids
private_ips
public_ips