diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-01 10:34:30 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-01 10:34:30 +0200 |
| commit | b10b5acadeab90f1816eba43a0a5ecf5953cbbd4 (patch) | |
| tree | fbe4ed87596f425f58118a0c4b51e291d2cc1d8e | |
| parent | add dependabot.yml (diff) | |
| download | infra-terraform-b10b5acadeab90f1816eba43a0a5ecf5953cbbd4.tar.gz infra-terraform-b10b5acadeab90f1816eba43a0a5ecf5953cbbd4.zip | |
try defaulting to Debian 13
| -rw-r--r-- | digitalocean/server/variables.tf | 8 | ||||
| -rw-r--r-- | yandex/server/variables.tf | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/digitalocean/server/variables.tf b/digitalocean/server/variables.tf index b1e8984..ea8833f 100644 --- a/digitalocean/server/variables.tf +++ b/digitalocean/server/variables.tf @@ -1,5 +1,6 @@ variable "region" { type = string + # Get the full list, along with available droplet sizes: # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/regions" | jq . } @@ -36,9 +37,11 @@ variable "image" { type = string #default = "debian-12-x64" - #default = "debian-13-x64" + default = "debian-13-x64" #default = "ubuntu-22-04-x64" - default = "ubuntu-24-04-x64" + #default = "ubuntu-24-04-x64" + #default = "ubuntu-26-04-x64" + # Get the full list: # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/images?type=distribution" | jq . } @@ -46,6 +49,7 @@ variable "size" { type = string default = "s-1vcpu-2gb" + # Get the full list: # curl -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/sizes" | jq . } diff --git a/yandex/server/variables.tf b/yandex/server/variables.tf index 2673d43..147bcc2 100644 --- a/yandex/server/variables.tf +++ b/yandex/server/variables.tf @@ -7,14 +7,20 @@ variable "name" { } variable "image" { type = string + # Debian 11 #default = "fd8fccvfosff76l4g9cu" # Debian 12 #default = "fd8k2ecv2i5bmiblro64" + # Debian 13 + default = "fd8tps4kduh4m28n889n" # Ubuntu 22.04 #default = "fd8oik3g61qm14kcklca" # Ubuntu 24.04 - default = "fd8cc75vi959cul95ra1" + #default = "fd8cc75vi959cul95ra1" + # Ubuntu 26.04 + #default = "fd8h10u4sm2tg8cc7knq" + # The full list is at https://cloud.yandex.com/en/marketplace?categories=os } variable "subnet_id" { |
