From 0e87875de0f5bbbade1ad3515c72abaadbe46204 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 4 Aug 2023 14:31:08 +0200 Subject: import a couple of Yandex Cloud moduels --- yandex/server/variables.tf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 yandex/server/variables.tf (limited to 'yandex/server/variables.tf') 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 +} -- cgit v1.2.3