aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yandex/server/variables.tf
blob: 823bc971fe682613259148932958e930bcaf561e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
variable "zone" {
  type = string
}

variable "name" {
  type = string
}
variable "image" {
  type = string
  # Debian 11
  default = "fd8sqojvm458b3jr5nfd"
  # 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
}