sfos/bootstrap/variables.tf
2025-03-16 20:15:03 -06:00

47 lines
1.2 KiB
HCL

variable "node_count" {
type = number
default = 3
description = "the number of nodes to create"
}
variable "admin_ssh_public_key" {
type = string
description = "The SSH Public key that can access nodes via SSH after provisioning"
}
variable "tailscale_auth_key" {
type = string
description = "Tailscale key for nodes joining the Tailnet"
}
variable "internal_cidr_block" {
default = "10.0.1.0/24"
description = "the cidr block for the cluster's internal subnet"
}
variable "compute_provider_access_token" {
type = string
description = "Access token for accessing your compute provider's provisioning API"
sensitive = true
}
variable "compute_provider_node_type" {
type = string
description = "The name your compute provider uses to refer to the type of compute resource you'll be creating, e.g Hetzner 'cpx21' for CPX21 server"
}
variable "compute_provider_region" {
type = string
description = "Your compute provider's name for the region in which to provision nodes"
}
variable "compute_provider_location" {
type = string
description = "Your compute provider's name for the location inside the region in which to provision nodes"
}