aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/yandex/server/variables.tf
blob: e9d07403f40e146bad72e95dc324f9a2e4d5825a (plain) (tree)
1
2
3
4
5
6
7
8
9








                  

                                  
                                                                             


































                          
variable "zone" {
  type = string
}

variable "name" {
  type = string
}
variable "image" {
  type = string
  # Debian 12
  default = "fd8k2ecv2i5bmiblro64"
  # The full list is at https://cloud.yandex.com/en/marketplace?categories=os
}
variable "subnet_id" {
  type = string
}
variable "ip_address" {
  type = string
}

variable "user" {
  type = string
}
variable "ssh_keys" {
  type = list(string)
}
variable "ssh_port" {
  type    = string
  default = "22"
}

variable "cores" {
  type    = number
  default = 2
}
variable "core_fraction" {
  type    = number
  default = 100
}
variable "memory" {
  type    = number
  default = 2
}
variable "disk_size" {
  type    = number
  default = 10
}