infra/infra/static-vultr/host.tf

20 lines
498 B
HCL

# Using a single host for this as I'm just looking for a quick and dirty solution
# to host basically everything for now
resource "vultr_instance" "websites" {
# Core configuration
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
}
}