aboutsummaryrefslogtreecommitdiffstats
path: root/hcloud-snapshot/snapshot.pkr.hcl
blob: dd19f27dbe936d5780af5de71c53342ba2fe6d7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
source "hcloud" "openbsd" {
  token         = var.hcloud_token
  rescue        = "linux64"
  image         = "debian-13"
  server_type   = "cx23"
  location      = "nbg1"
  ssh_username  = "root"
  ssh_keys      = [var.ssh_key]
  snapshot_name = "openbsd-${var.version}-${var.arch}"
  snapshot_labels = {
    "os" : "openbsd",
    "version" : var.version,
    "arch" : var.arch,
  }
}