From b10b5acadeab90f1816eba43a0a5ecf5953cbbd4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 1 Jul 2026 10:34:30 +0200 Subject: try defaulting to Debian 13 --- digitalocean/server/variables.tf | 8 ++++++-- 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" { -- cgit v1.3