terraform-azurerm-valheim

Terraform module to deploy a Valheim server to Azure Container Instances. This is based on the great work done over at [lloesche/valheim-server-docker]https://github.com/lloesche/valheim-server-docker) to containerize the Valheim server.

This module will deploy a container group to azure and will include a daily snapshot of the file shared mounted to the container should you need to restore your world.

Requirements

Name Version
azurerm 2.54.0

Providers

Name Version
azurerm 2.54.0
random n/a

Modules

No modules.

Resources

Name Type
azurerm_backup_container_storage_account.protection-container resource
azurerm_backup_policy_file_share.daily resource
azurerm_backup_protected_file_share.config resource
azurerm_backup_protected_file_share.data resource
azurerm_container_group.valheim resource
azurerm_recovery_services_vault.vault resource
azurerm_resource_group.rg resource
azurerm_storage_account.valheim resource
azurerm_storage_share.config resource
azurerm_storage_share.data resource
random_string.storagename resource

Inputs

Name Description Type Default Required
adminlist_ids List of admin SteamIDs list(string) [] no
environment_variables Extra environment variables that will be passed to the valheim server map(any) {} no
hostname Hostname to use when deploying container group. Will be postfixed with .azurecontainer.io string n/a yes
region Azure region to deploy to string "westeurope" no
resource_group The name of the resource group to deploy to string "valheim" no
server_name What to call your server string n/a yes
server_password The password to set on your server string n/a yes
valheim_server_image The name and tag of the container image to run. string "lloesche/valheim-server" no
world_name The name for your world string n/a yes

Outputs

No outputs.