basic/minimal_setup_ami

This cluster creates the minimal infrastructure for setting up a Game AMI. You must pass it the IAM and VPC resources.

Providers

  • aws
  • random

Requirements

  • terraform >= 0.12

Inputs

cluster (string)

Name of your cluster

key_pair_private (string)

Key Pair Private PEM to use instead of creating a new one

key_pair_public (string)

Key Pair Public Key to use instead of creating a new one

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.

vpc_id (string)

VPC ID to use instead of creating a new one

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

force_az (string)

Force Subnet placement in specified Availability Zone (us-east-1a)

game_az (string)

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

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

namespace (string)

Deployment namespace that will regroup the clusters

region (string)

AWS deployment region

stage (string)

Deployment stage

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