2023-05-10 21:05:10 +02:00
|
|
|
variable "server_type" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = string
|
2024-02-09 11:54:32 +01:00
|
|
|
default = "cpx21"
|
2023-05-10 21:05:10 +02:00
|
|
|
description = "Hetzner cloud server type"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "server_location" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = string
|
|
|
|
default = "hel1"
|
2023-05-10 21:05:10 +02:00
|
|
|
description = "Hetzner cloud server location"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "nixos_vars_file" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = string
|
2023-05-10 21:05:10 +02:00
|
|
|
description = "File to write NixOS configuration variables to"
|
|
|
|
}
|
|
|
|
|
2023-10-24 18:37:53 +02:00
|
|
|
variable "sops_file" {
|
|
|
|
type = string
|
|
|
|
description = "File to SOPS secrets file"
|
|
|
|
}
|
|
|
|
|
2023-05-10 21:05:10 +02:00
|
|
|
variable "nixos_flake_attr" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = string
|
2023-05-10 21:05:10 +02:00
|
|
|
description = "NixOS configuration flake attribute"
|
|
|
|
}
|
2023-05-11 00:29:15 +02:00
|
|
|
|
|
|
|
variable "domain" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = string
|
2023-05-11 00:29:15 +02:00
|
|
|
description = "Domain name"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "tags" {
|
2023-05-14 18:37:15 +02:00
|
|
|
type = map(string)
|
|
|
|
default = {}
|
2023-05-11 00:29:15 +02:00
|
|
|
description = "Tags to add to the server"
|
|
|
|
}
|