From a26c32744a76443caf6c22e41fe6e7351adb8993 Mon Sep 17 00:00:00 2001 From: "Menghua Chen (WICRESOFT NORTH AMERICA LTD)" Date: Tue, 17 Sep 2024 23:00:19 +0800 Subject: [PATCH] update hub.bicep --- avm/ptn/azd/ml-ai-environment/README.md | 6 ++++++ .../ml-ai-environment/tests/e2e/defaults/main.test.bicep | 1 + 2 files changed, 7 insertions(+) diff --git a/avm/ptn/azd/ml-ai-environment/README.md b/avm/ptn/azd/ml-ai-environment/README.md index aa31b289086..9e5843aa0ac 100644 --- a/avm/ptn/azd/ml-ai-environment/README.md +++ b/avm/ptn/azd/ml-ai-environment/README.md @@ -103,6 +103,8 @@ module mlAiEnvironment 'br/public:avm/ptn/azd/ml-ai-environment:' = { searchConnectionName: 'maeminsearch001-connection' storageAccountName: 'maeminsa001' userAssignedtName: 'maeminua001' + // Non-required parameters + location: '' } } ``` @@ -143,6 +145,10 @@ module mlAiEnvironment 'br/public:avm/ptn/azd/ml-ai-environment:' = { }, "userAssignedtName": { "value": "maeminua001" + }, + // Non-required parameters + "location": { + "value": "" } } } diff --git a/avm/ptn/azd/ml-ai-environment/tests/e2e/defaults/main.test.bicep b/avm/ptn/azd/ml-ai-environment/tests/e2e/defaults/main.test.bicep index 43f05f3ce75..103d0e465a8 100644 --- a/avm/ptn/azd/ml-ai-environment/tests/e2e/defaults/main.test.bicep +++ b/avm/ptn/azd/ml-ai-environment/tests/e2e/defaults/main.test.bicep @@ -39,6 +39,7 @@ module testDeployment '../../../main.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-test-${serviceShort}' params: { + location: resourceLocation keyVaultName: '${namePrefix}${serviceShort}kv00' storageAccountName: '${namePrefix}${serviceShort}sa001' hubName: '${namePrefix}${serviceShort}hub001'