From 3fb52780f30467fb79d7bb42d254ab2bef9c9094 Mon Sep 17 00:00:00 2001 From: Lyle Xu Date: Wed, 10 Apr 2024 14:39:47 +0800 Subject: [PATCH] location give the default value --- Environments/eShop/main.bicep | 2 +- Environments/eShop/manifest.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Environments/eShop/main.bicep b/Environments/eShop/main.bicep index 68454945..7cf6026e 100644 --- a/Environments/eShop/main.bicep +++ b/Environments/eShop/main.bicep @@ -5,7 +5,7 @@ param environmentName string @minLength(1) @description('The location used for all deployed resources') -param location string +param location string = resourceGroup().location @secure() @metadata({azd: { diff --git a/Environments/eShop/manifest.yaml b/Environments/eShop/manifest.yaml index b3fa119a..d577f2e2 100644 --- a/Environments/eShop/manifest.yaml +++ b/Environments/eShop/manifest.yaml @@ -10,8 +10,7 @@ parameters: name: "Environment Name (e.g. test)" description: "Name of the Environment" type: "string" - required: false - default: "test" + required: true - id: "location" name: "Region (e.g. eastus)"