variable "stackit_project_id" { description = "STACKIT project ID" type = string } # === Service Account variables === variable "service_account_name" { description = "Name of the service account" type = string } # === Service Account Key variables === variable "service_account_create_key" { description = "Whether to create a service account key" type = bool default = false } variable "service_account_public_key" { description = "Optional: Specifies the public_key (RSA2048 key-pair). If not provided, a certificate from STACKIT will be used to generate a private_key." type = string default = null } variable "service_account_rotate_when_changed" { description = "Map to force key rotation when changed" type = map(string) default = {} } variable "service_account_ttl_days" { description = "Key validity duration in days. Defaults to 90" type = number default = 90 } # === Server Service Account Attach variables === variable "attach_to_server" { description = "Whether to attach the service account to a server" type = bool default = false } variable "server_id" { description = "Server ID for attachment" type = string default = "" }