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 }