From 79ef45bab24fb7fa379bcdd3999b11a5dd3bc318 Mon Sep 17 00:00:00 2001 From: Benjamin Chiverton Date: Tue, 2 Jul 2024 08:56:50 +0100 Subject: [PATCH] Update container_apps.tf --- terraform/instance/container_apps.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/instance/container_apps.tf b/terraform/instance/container_apps.tf index 4caf469..f30baaa 100644 --- a/terraform/instance/container_apps.tf +++ b/terraform/instance/container_apps.tf @@ -11,7 +11,7 @@ resource "azurerm_container_app" "api" { template { container { - name = "onlinestore-api" + name = "${lower(var.environment)}-onlinestore-api" image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" cpu = 0.25 memory = "0.5Gi" @@ -46,7 +46,7 @@ resource "azurerm_container_app" "website" { template { container { - name = "onlinestore-website" + name = "${lower(var.environment)}-onlinestore-website" image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest" cpu = 0.25 memory = "0.5Gi" @@ -81,7 +81,7 @@ resource "azurerm_container_app" "monitoring" { template { container { - name = "aspire-dashboard" + name = "${lower(var.environment)}-aspire-dashboard" image = "onlinestorecontainerregistry.azurecr.io/dotnet/aspire-dashboard:8.0.0" cpu = 0.25 memory = "0.5Gi"