diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-04 14:31:08 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-04 14:31:08 +0200 |
commit | 0e87875de0f5bbbade1ad3515c72abaadbe46204 (patch) | |
tree | 26d141bd7968f7f34091cf245ae1f11d6d3b2ee8 /yandex/server/variables.tf | |
parent | import some common modules (diff) | |
download | infra-terraform-0e87875de0f5bbbade1ad3515c72abaadbe46204.tar.gz infra-terraform-0e87875de0f5bbbade1ad3515c72abaadbe46204.zip |
import a couple of Yandex Cloud moduelsv0.0.2
Diffstat (limited to 'yandex/server/variables.tf')
-rw-r--r-- | yandex/server/variables.tf | 46 |
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 +} |