Files
NaliiaDevOPs/terraform/variables.tf

43 lines
844 B
HCL

terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.45"
}
}
required_version = ">= 0.13"
}
variable "hcloud_token" {
sensitive = true
}
variable "hcloud_ssh_key_name" {
description = "Nombre de la clave SSH en Hetzner"
type = string
default = "default-ssh-key"
}
variable "hcloud_ssh_key_file_path" {
description = "Ruta al archivo de clave SSH pública"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "hcloud_server_name" {
description = "Server Name"
type = string
default = "app"
}
variable "hcloud_server_image" {
description = "Image Name"
type = string
default = "ubuntu-24.04"
}
variable "hcloud_server_type" {
description = "Server Type"
type = string
default = "cx23"
}