You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sap/automation/tutorial.md
+26-12Lines changed: 26 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,10 @@ If you don't assign the User Access Administrator role to the service principal,
273
273
# enable_firewall_for_keyvaults_and_storage defines that the storage accounts and key vaults have firewall enabled
274
274
enable_firewall_for_keyvaults_and_storage = false
275
275
276
+
# public_network_access_enabled controls if storage account and key vaults have public network access enabled
277
+
public_network_access_enabled = true
278
+
279
+
276
280
```
277
281
278
282
Note the Terraform variable file locations for future edits during deployment.
@@ -304,14 +308,21 @@ For example, choose **North Europe** as the deployment location, with the four-c
304
308
305
309
The sample SAP library configuration file `MGMT-NOEU-SAP_LIBRARY.tfvars` is in the `~/Azure_SAP_Automated_Deployment/WORKSPACES/LIBRARY/MGMT-NOEU-SAP_LIBRARY` folder.
306
310
311
+
Set the environment variables for the service principal:
312
+
313
+
```bash
314
+
315
+
export ARM_SUBSCRIPTION_ID="<subscriptionId>"
316
+
export ARM_CLIENT_ID="<appId>"
317
+
export ARM_CLIENT_SECRET="<password>"
318
+
export ARM_TENANT_ID="<tenantId>"
319
+
320
+
```
321
+
307
322
1. Create the deployer and the SAP library. Add the service principal details to the deployment key vault.
308
323
309
324
```bash
310
325
311
-
export ARM_SUBSCRIPTION_ID="<subscriptionId>"
312
-
export ARM_CLIENT_ID="<appID>"
313
-
export ARM_CLIENT_SECRET="<password>"
314
-
export ARM_TENANT_ID="<tenant>"
315
326
export env_code="MGMT"
316
327
export vnet_code="DEP00"
317
328
export region_code="<region_code>"
@@ -322,14 +333,17 @@ The sample SAP library configuration file `MGMT-NOEU-SAP_LIBRARY.tfvars` is in t
0 commit comments