basic/setup-ami

This cluster creates the minimal infrastructure for setting up a Game AMI.

Providers

  • aws
  • tls

Requirements

  • terraform >= 0.12

Inputs

cluster (string)

Name of your cluster

trusted_cidr (string)

CIDR to be trusted. This should at least contain the external IP for the local machine. Otherwise, the provision and access to Consul/Nomad will fail.

admin_password (string)

Administrative password for the game machine

ami_version (string)

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

datacenter (string)

Consul/Nomad datacenter

game_az (string)

AWS Availability Zone where the game instance is to be created.

iam_policy_auto_create (bool)

Flag for enabling automatic creation of IAM policies

iam_policy_name_game (string)

Name of the IAM policy to use instead of creating a new one for game

instance_game_type (string)

Type of EC2 instance to use for server

region (string)

AWS deployment region

toolbox_location (string)

Genvid Toolbox Wheel file.

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

trusted_cidrs (list(string))

A list of CIDR to be trusted

Outputs

ami_version
cluster
game_instance_ids
game_private_ips
game_public_ips
private_key_pem
region