From d498f1878452a107f6a4ff29d9822be9dc8bb12f Mon Sep 17 00:00:00 2001 From: ajai-d <106365942+ajai-d@users.noreply.github.com> Date: Tue, 24 Oct 2023 18:30:31 -0500 Subject: [PATCH] strip hypen from resourceGroupPrefix --- deploy/infrastructure/cli/deploy.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/infrastructure/cli/deploy.ps1 b/deploy/infrastructure/cli/deploy.ps1 index 70ead44c..13513e09 100644 --- a/deploy/infrastructure/cli/deploy.ps1 +++ b/deploy/infrastructure/cli/deploy.ps1 @@ -1,5 +1,5 @@ param ( - [string]$resourceGroupPrefix = "myagi-1", + [string]$resourceGroupPrefix = "miyagi1", [string]$location = "eastus", [string]$resourceGroupCount = 1, [string]$subscriptionId = "SubscriptionId is required" @@ -28,7 +28,9 @@ $skipAzureContainerApps = "false" $skipAzureContainerRegistry = "false" $skipAPIM = "false" +# strip - from resourceGroupPrefix +$resourceGroupPrefix = $resourceGroupPrefix.Replace("-",""); # create resource groups in a loop for rgIndex # if skipRg is true, skip creating resource group