context

hcloud context to use.

If left empty, the value of the environment variable HCLOUD_CONTEXT is used if present, else the current active context is used. Takes precedence over if explicitly set.

type

null or string

default

{
  context = null;
}

location

Volume location name

type

string

example

{
  location = "fsn1";
}

name

Name of the Hetzner Cloud volume.

type

string

default

{
  name = "nixops-{uuid}-{name}";
}

size

Size of volume, in Gb

type

signed integer

example

{
  size = 10;
}

token

Hetzner Cloud API token.

If left empty, the value of the environment variable HCLOUD_TOKEN is used instead. When explicitly set, takes precedence over HCLOUD_CONTEXT.

type

null or string

default

{
  token = null;
}