aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yandex/server/variables.tf
diff options
context:
space:
mode:
Diffstat (limited to 'yandex/server/variables.tf')
-rw-r--r--yandex/server/variables.tf46
1 files changed, 46 insertions, 0 deletions
diff --git a/yandex/server/variables.tf b/yandex/server/variables.tf
new file mode 100644
index 0000000..0fca4cb
--- /dev/null
+++ b/yandex/server/variables.tf
@@ -0,0 +1,46 @@
+variable "zone" {
+ type = string
+}
+
+variable "name" {
+ type = string
+}
+variable "image" {
+ type = string
+ # Debian 11
+ default = "fd8sqojvm458b3jr5nfd"
+}
+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
+}