infra/infra/static-vultr/immich-server.tf

23 lines
534 B
HCL

# Here we define the resources for our temporary immich server
resource vultr_instance immich {
plan = var.host.plan
region = var.host.region
os_id = var.host.os
enable_ipv6 = true
# Enable backups for now since we're getting off of s3 as well at some point
backups = "enabled"
backups_schedule {
type = "weekly"
dow = var.host.backups.day
hour = var.host.backups.hour
}
ssh_key_ids = [ vultr_ssh_key.immich.id ]
firewall_group_id = vultr_firewall_group.host.id
label = "Immich Server"
}