Skip to content

Commit 1e8fd4f

Browse files
authored
Merge pull request #184432 from osedlacek/patch-2
Update automation-deploy-workload-zone.md
2 parents 908c8b7 + d3783f1 commit 1e8fd4f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/virtual-machines/workloads/sap/automation-deploy-workload-zone.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can copy the sample configuration files to start testing the deployment auto
100100
```bash
101101
cd ~/Azure_SAP_Automated_Deployment
102102

103-
cp -R sap-automation/deploy/samples/WORKSPACES WORKSPACES
103+
cp -R sap-automation/samples/WORKSPACES WORKSPACES
104104

105105
```
106106

@@ -135,24 +135,25 @@ You can copy the sample configuration files to start testing the deployment auto
135135
136136
cd C:\Azure_SAP_Automated_Deployment
137137
138-
xcopy sap-automation\deploy\samples\WORKSPACES WORKSPACES
138+
xcopy sap-automation\samples\WORKSPACES WORKSPACES
139139
140140
```
141141

142142

143143
```powershell
144144
$subscription="<subscriptionID>"
145-
$appId="<appID>"
145+
$spn_id="<appID>"
146146
$spn_secret="<password>"
147147
$tenant_id="<tenant>"
148148
$keyvault=<keyvaultName>
149149
$storageaccount=<storageaccountName>
150150
$statefile_subscription=<statefile_subscription>
151+
$region_code="WEEU"
151152
152-
cd C:\Azure_SAP_Automated_Deployment\WORKSPACES\LANDSCAPE\DEV-WEEU-SAP01-INFRASTRUCTURE
153+
cd C:\Azure_SAP_Automated_Deployment\WORKSPACES\LANDSCAPE\DEV-$region_code-SAP01-INFRASTRUCTURE
153154
154-
New-SAPWorkloadZone -Parameterfile DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars
155-
-Subscription $subscription -SPN_id $appId -SPN_password $spn_secret -Tenant_id $tenant_id
155+
New-SAPWorkloadZone -Parameterfile DEV-$region_code-SAP01-INFRASTRUCTURE.tfvars
156+
-Subscription $subscription -SPN_id $spn_id -SPN_password $spn_secret -Tenant_id $tenant_id
156157
-State_subscription $statefile_subscription -Vault $keyvault -$StorageAccountName $storageaccount
157158
```
158159

0 commit comments

Comments
 (0)