|
1 | | -#!/bin/bash |
2 | | - |
3 | | -basedir="$( dirname "$( readlink -f "$0" )" )" |
4 | | -cd "${basedir}" |
5 | | - |
6 | | -echo "Creating new resource group $( ./get-value.sh resourceGroupName ) for the services in $( ./get-value.sh location )..." |
7 | | -az group create \ |
8 | | - --location "$( ./get-value.sh location )" \ |
9 | | - --name "$( ./get-value.sh "resourceGroupName" )" |
10 | | - |
11 | | -az deployment group create \ |
12 | | - --resource-group "$( ./get-value.sh "resourceGroupName" )" \ |
13 | | - --template-file "dev.bicep" \ |
14 | | - --parameters \ |
15 | | - "eventHubNameNamespaceName=$( ./get-value.sh "eventHubNameNamespaceName" )" \ |
16 | | - "infraServicePrincipalObjectID=$( ./get-value.sh "infrastructure.iam.object_id" )" \ |
17 | | - "infraServicePrincipalObjectType=$( ./get-value.sh "infrastructure.iam.object_type" )" \ |
18 | | - "prefix=$( ./get-value.sh "prefix" )" \ |
19 | | - --output json > deployment.json |
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +basedir="$( dirname "$( readlink -f "$0" )" )" |
| 4 | +cd "${basedir}" |
| 5 | + |
| 6 | +echo "Creating new resource group $( ./get-value.sh resourceGroupName ) for the services in $( ./get-value.sh location )..." |
| 7 | +az group create \ |
| 8 | + --location "$( ./get-value.sh location )" \ |
| 9 | + --name "$( ./get-value.sh "resourceGroupName" )" |
| 10 | + |
| 11 | +az deployment group create \ |
| 12 | + --resource-group "$( ./get-value.sh "resourceGroupName" )" \ |
| 13 | + --template-file "dev.bicep" \ |
| 14 | + --parameters \ |
| 15 | + "eventHubNameNamespaceName=$( ./get-value.sh "eventHubNameNamespaceName" )" \ |
| 16 | + "infraServicePrincipalObjectID=$( ./get-value.sh "infrastructure.iam.object_id" )" \ |
| 17 | + "infraServicePrincipalObjectType=$( ./get-value.sh "infrastructure.iam.object_type" )" \ |
| 18 | + "prefix=$( ./get-value.sh "prefix" )" \ |
| 19 | + --output json > deployment.json |
0 commit comments