diff --git a/wireguard/main.tf b/wireguard/main.tf index ebc8e482..9b3abc99 100644 --- a/wireguard/main.tf +++ b/wireguard/main.tf @@ -19,8 +19,8 @@ resource "nebius_compute_v1_instance" "wireguard_instance" { ] resources = { - platform = var.platform - preset = var.preset + platform = local.platform + preset = local.preset } diff --git a/wireguard/variables.tf b/wireguard/variables.tf index f05a5a33..1b0d7c9b 100644 --- a/wireguard/variables.tf +++ b/wireguard/variables.tf @@ -19,13 +19,13 @@ variable "region" { variable "platform" { description = "Platform for WireGuard host." type = string - default = "cpu-e2" + default = null } variable "preset" { description = "Preset for WireGuard host." type = string - default = "4vcpu-16gb" + default = null } # SSH access