basic/azurerm_basic_cluster_alb_ssl
Providers
azurerm (<= 2.54.0)
Requirements
terraform >= 0.13
azuread ~> 1.0.0
azurerm <= 2.54.0
tls ~> 3.1.0
Inputs
- bastionid (string)
Id of this bastion instance
- cluster (string)
Name of your cluster
- trusted_cidr (string)
CIDR to be trusted. This should at least contain the external CIDR (<ip>/32) for the local machine. Otherwise, the provision and access to Consul/Nomad will fail.
- admin_password (string)
The administrator password for the Windows machine. The Windows machine is only accessible from the other server instances and from other machines that share the same external IP as yours. That password must respect default Windows password complexity.
Default: 1Genvid6!
- azs (list(number))
Specifies the list of availability zones to use. Azure makes zones 1, 2, and 3 available for use in all regions.Instances will be evenly spanned across specified zone, sequentially, starting at the first specific zone, and rolling over back to the first one when the end of the list is reached. [2]
- datacenter (string)
Consul/Nomad datacenter
Default: default
- domain_name (string)
A pre-created domain in Azure or any other registrar. [2]
Default: example.com
- gateway_autoscaling_limits (list(number))
Specify the minimum and maximum number of instance for Application Gateway autoscaler. Note: This only affects the Application Gateway, and does not change the number of instances of other resources in the cluster. [2]
Default: [1, 3]
- instance_encoding_count (number)
Number of internal workers to spawn.
Default: 1
- instance_encoding_type (string)
Type of Virtual Network to use for encoding servers.
Default: Standard_F8s_v2
- instance_game_count (number)
Number of game instances to spawn.
Default: 1
- instance_game_type (string)
Type of Virtual Network to use for game servers.
Default: Standard_NV6
- instance_internal_count (number)
Number of internal workers to spawn.
Default: 2
- instance_internal_type (string)
Type of Virtual Network to use for internal servers.
Default: Standard_B2s
- instance_public_count (number)
Number of public workers to spawn.
Default: 1
- instance_public_type (string)
Type of Virtual Network to use for public servers.
Default: Standard_B2s
- instance_server_count (number)
the number of supervisor servers. Must be an odd number. #It is usually 3 for production deployment.
Default: 1
- instance_server_type (string)
Type of Virtual Network instance to use for admin servers.
Default: Standard_B2s
- leaf_port (number)
Port that Leaf service is configured to listen on. [2]
Default: 30001
- leaf_ssl_certificate_password (string)
If you provided an ssl certificate for the leaf subdomain, provide the password. Your certificate MUST have a password. [#new125]
- leaf_ssl_certificate_path (string)
Path to a valid ssl certificate for the leaf subdomain on your domain. If you provided a wildcard ssl certificate, you do not need to provide this. [2]
The leaf certificate should generated for
leaf.your_subdomain.your_domain
.Accepted formats are
.pfx
and.pem
.
- leaf_stickiness_ttl (number)
Set the Leaf target group stickiness timeout. [2]
Default: 20
- leaf_tg_stickiness_enabled (bool)
Set the Leaf target group stickiness enabled or disabled. [2]
- location (string)
Azure deployment location
Default: East US
- parent_domain_resource_group (string)
The name of the resource group that the domain is registered in.
- resource_group_name (string)
Specifies the value for the resource group name. If empty, the generated
resource_group_name
will bebastionid-cluster
.Important
Changing the resource group name causes the whole cluster to rebuild.
- server_image_prefix (string)
A common prefix for the server image. You can change it if you want to experiment with your own image. [4]
Default: genvidtech
- shared_gallery_image_version (string)
SDK Shared Image version, should be only one per Genvid SDK.
Default: 1.45.0000
- shared_gallery_name (string)
Shared Gallery Name.
Default: SDKgallery
- shared_gallery_resource_group_name (string)
Shared Gallery Resource Group Name.
Default: Genvid
- toolbox_location (string)
Genvid Toolbox Wheel file. Only required if you need to update the one from the SDK. An empty value indicates to not install the toolbox.
- trusted_cidrs (list(string))
A list of CIDR to be trusted.
- ttl_leaf_hostname (number)
TTL information of the leaf endpoint in the A record of the main domain. [2]
Default: 3600
- ttl_web_hostname (number)
TTL information of the web endpoint in the A record of the main domain. [2]
Default: 3600
- web_health_check_path (string)
Health check path for Web service. It should match the path defined in the web.nomad.tmpl. [2]
Default: /health
- web_port (number)
Port that Web service is configured to listen on. [2]
Default: 30000
- web_ssl_certificate_password (string)
If you provided an ssl certificate for the web subdomain, provide the password. Your certificate MUST have a password. [2]
- web_ssl_certificate_path (string)
Path to a valid ssl certificate for the web subdomain on your domain. If you provided a wildcard ssl certificate, you do not need to provide this. [2]
The web certificate should generated for
web.your_subdomain.your_domain
.Accepted formats are
.pfx
and.pem
.
- web_stickiness_ttl (number)
Set the Web target group stickiness timeout. [2]
Default: 20
- web_tg_stickiness_enabled (bool)
Set the Web target group stickiness enabled or disabled. [2]
- wildcard_ssl_certificate_password (string)
If you provided a wildcard certificate, provide the password. Your certificate MUST have a password.
- wildcard_ssl_certificate_path (string)
If you have a wildcard ssl certificate, provide the path to it here. With a wildcard certificate, you do not need to provide individual certificates for the leaf and web subdomains.
The wildcard certificate should generated for
*.your_subdomain.your_domain
.Accepted formats are
.pfx
and.pem
.
- wingame_image_prefix (string)
Prefix of the wingame image.
Default: default
Outputs
- admin_username
Admin user name
- cloud_provider
Cloud provider used
- domain_name
The domain name that is used
- encoding_worker_public_ips
List of ‘encoding’ workers public ips
- endpoint_leaf
The leaf listener of the load balancer (application gateway)
- endpoint_web
The web listener of the load balancer (application gateway)
- game_admin_password
Game workers admin password
- game_instance_ids
Game VMs instances IDs
- game_machine_locations
Azure locations where the game VMs have been instantiated
- game_machine_names
Game VMs instances names
- game_public_ips
List of ‘game’ workers public ips
- internal_worker_public_ips
List of ‘internal’ workers public ips
- leaf_port
Port that leaf service is configured to listen on
- private_key_pem
Private key to access the instances
- public_worker_public_ips
List of ‘public’ workers public ips
- resource_group_name
The resource group name in which the genvid cluster has been instantiated
- server_public_ips
List of ‘server’ public ips
- web_health_check_path
Health check path for Web service. It should match the path defined in the web.nomad.tmpl.
- web_port
Port that web service is configured to listen on