submodules/azure-cluster/sample

A basic cluster of Azure VMs and network resources to run the Genvid stack.

Providers

  • azurerm
  • tls

Inputs

cluster (string)

Name of your cluster

location (string)

Region to deploy infrastructure

namespace (string)

Deployment namespace that will regroup the clusters

resource_group_name (string)

Azure resource group

stage (string)

Deployment stage

datacenter (string)

Consul/Nomad datacenter

encoding_count (number)

Number of internal workers to spawn

game_count (number)

Number of game instances to spawn

internal_count (number)

Number of internal workers to spawn

public_count (number)

Number of public workers to spawn

server_count (number)

The number of supervisor servers. Must be an odd number. It is usually 3 for production deployment.

shared_gallery_image_version (string)

SDK Shared Image version, should be only one per Genvid SDK

shared_gallery_name (string)

Shared Gallery Name

shared_gallery_resource_group_name (string)

Shared Gallery Resource Group Name

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.

vm_size_encoding (string)

Type of Virtual Network to use for encoding servers

vm_size_game (string)

Type of Virtual Network to use for game servers

vm_size_internal (string)

Type of Virtual Network to use for internal servers

vm_size_public (string)

Type of Virtual Network to use for public servers

vm_size_server (string)

Type of Virtual Network to use for admin servers

wingame_image_prefix (string)

Prefix of the wingame image

Outputs

admin_username
encoding_worker_public_ips
game_admin_password
game_instance_ids
game_machine_locations
game_machine_names
game_public_ips
internal_worker_public_ips
public_ips
public_worker_public_ips
server_public_ips
tls_private_key