From 4a3164f1fb8c1d2ca6fe4a34663d8e3569943645 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Thu, 9 Nov 2023 09:54:54 +0100 Subject: [PATCH] convert azure image ref to lowercase --- terraform/common/fetch-image/main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/terraform/common/fetch-image/main.tf b/terraform/common/fetch-image/main.tf index 082e910ddc4..285589a7429 100644 --- a/terraform/common/fetch-image/main.tf +++ b/terraform/common/fetch-image/main.tf @@ -5,6 +5,11 @@ locals { fetch_image_command = < "image.txt" + if [ ${var.csp} == 'azure' ]; then + mv image.txt image.txt.tmp + tr '[:upper:]' '[:lower:]' < image.txt.tmp > image.txt + rm image.txt.tmp + fi EOT }