From 16916ff1d6eed0516d73791de56a79a4b2d14706 Mon Sep 17 00:00:00 2001 From: Bartlomiej Gmerek <42570669+Gmerold@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:53:20 +0100 Subject: [PATCH] fix: Uses ubuntu@24.04 in TF module (#452) --- terraform/main.tf | 1 + terraform/variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/terraform/main.tf b/terraform/main.tf index 0049b8e2..739fb7cc 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -9,6 +9,7 @@ resource "juju_application" "upf" { name = "sdcore-upf-k8s" channel = var.channel revision = var.revision + base = var.base } config = var.config diff --git a/terraform/variables.tf b/terraform/variables.tf index 5a49bbb0..e6301157 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -43,6 +43,12 @@ variable "revision" { default = null } +variable "base" { + description = "The operating system on which to deploy" + type = string + default = "ubuntu@24.04" +} + variable "units" { description = "Number of units to deploy" type = number