nixos-wiki-infra/terraform/nixos-wiki/variables.tf
2024-02-09 11:54:32 +01:00

38 lines
755 B
HCL

variable "server_type" {
type = string
default = "cpx21"
description = "Hetzner cloud server type"
}
variable "server_location" {
type = string
default = "hel1"
description = "Hetzner cloud server location"
}
variable "nixos_vars_file" {
type = string
description = "File to write NixOS configuration variables to"
}
variable "sops_file" {
type = string
description = "File to SOPS secrets file"
}
variable "nixos_flake_attr" {
type = string
description = "NixOS configuration flake attribute"
}
variable "domain" {
type = string
description = "Domain name"
}
variable "tags" {
type = map(string)
default = {}
description = "Tags to add to the server"
}