Skip to content

Commit 21dadfe

Browse files
authored
Merge pull request #180243 from KimForss/master
URL updates
2 parents e9f1da3 + aebf37b commit 21dadfe

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

articles/virtual-machines/workloads/sap/automation-bom-prepare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.service: virtual-machines-sap
1313

1414
The [SAP deployment automation framework on Azure](automation-deployment-framework.md) uses a Bill of Materials (BOM). The BOM helps configure your SAP systems.
1515

16-
The automation framework's GitHub repository contains a set of [Sample BOMs](https://github.com/Azure/sap-hana/tree/main/deploy/ansible/BOM-catalog) that you can use to get started. It is also possible to create BOMs for other SAP Applications and databases.
16+
The automation framework's GitHub repository contains a set of [Sample BOMs](https://github.com/Azure/sap-automation/tree/main/deploy/ansible/BOM-catalog) that you can use to get started. It is also possible to create BOMs for other SAP Applications and databases.
1717

1818
If you want to generate a BOM that includes permalinks, [follow the steps for creating this type of BOM](#permalinks).
1919

@@ -218,7 +218,7 @@ To generate a BOM with permalinks:
218218
219219
The following sample is a small part of an example BOM file for S/4HANA 1909 SP2.
220220
221-
You can find multiple complete, usable BOM files in the [GitHub repository](https://github.com/Azure/sap-hana).
221+
You can find multiple complete, usable BOM files in the [GitHub repository](https://github.com/Azure/sap-automation/deploy/ansible/BOM-catalog) folder.
222222
223223
```yml
224224
step|BOM Content

articles/virtual-machines/workloads/sap/automation-deploy-control-plane.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ cd ~/Azure_SAP_Automated_Deployment/WORKSPACES
5757
az logout
5858
az login
5959

60-
subscriptionID=<subscriptionID>
61-
appId=<appID>
62-
spn_secret=<password>
63-
tenant_id=<tenant>
60+
export subscriptionID=<subscriptionID>
61+
export appId=<appID>
62+
export spn_secret=<password>
63+
export tenant_id=<tenant>
6464

6565
${DEPLOYMENT_REPO_PATH}/deploy/scripts/prepare_region.sh \
6666
--deployer_parameter_file DEPLOYER/MGMT-WEEU-DEP00-INFRASTRUCTURE/MGMT-WEEU-DEP00-INFRASTRUCTURE.tfvars \

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,21 @@ Running the command below will deploy the SAP Workload Zone.
9898
```bash
9999
cd ~/Azure_SAP_Automated_Deployment/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE
100100

101-
subscriptionID=<subscriptionID>
102-
appId=<appID>
103-
spn_secret=<password>
104-
tenant_id=<tenant>
105-
keyvault=<keyvaultName>
106-
storageaccount=<storageaccountName>
107-
statefile_subscription=<statefile_subscription>
101+
export subscriptionID=<subscriptionID>
102+
export appId=<appID>
103+
export spn_secret=<password>
104+
export tenant_id=<tenant>
105+
export keyvault=<keyvaultName>
106+
export storageaccount=<storageaccountName>
107+
export statefile_subscription=<statefile_subscription>
108108

109109
${DEPLOYMENT_REPO_PATH}/deploy/scripts/install_workloadzone.sh \
110110
--parameterfile DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars \
111111
--keyvault $keyvault \
112112
--state_subscription $statefile_subscription \
113113
--subscription $subscriptionID \
114114
--spn_id $appID \
115-
--spn_secret "$spn_secret" \
115+
--spn_secret $spn_secret \
116116
--tenant_id $tenant_id
117117
```
118118
# [Windows](#tab/windows)
@@ -128,7 +128,7 @@ $statefile_subscription=<statefile_subscription>
128128
129129
cd C:\Azure_SAP_Automated_Deployment\WORKSPACES\LANDSCAPE\DEV-WEEU-SAP01-INFRASTRUCTURE
130130
131-
New-SAPWorkloadZone -Parameterfile .DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars
131+
New-SAPWorkloadZone -Parameterfile DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars
132132
-Subscription $subscription -SPN_id $appId -SPN_password $spn_secret -Tenant_id $tenant_id
133133
-State_subscription $statefile_subscription -Vault $keyvault -$StorageAccountName $storageaccount
134134
```
@@ -138,8 +138,8 @@ New-SAPWorkloadZone -Parameterfile .DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars
138138
> [!NOTE]
139139
> Be sure to replace the sample value `<subscriptionID>` with your subscription ID.
140140
> Replace the `<appID>`, `<password>`, `<tenant>` values with the output values of the SPN creation
141-
> Replace `<keyvaultName>` with the deployer key vault name
142-
> Replace `<storageaccountName>` with the name of the storage account containing the Terraform state files
141+
> Replace `<keyvault>` with the deployer key vault name
142+
> Replace `<storageaccount>` with the name of the storage account containing the Terraform state files
143143
> Replace `<statefile_subscription>` with the subscription ID for the storage account containing the Terraform state files
144144
145145
## Next step

articles/virtual-machines/workloads/sap/automation-naming-module.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ module "sap_namegenerator" {
8181
db_server_count = var.database_server_count
8282
app_server_count = try(local.application.application_server_count, 0)
8383
web_server_count = try(local.application.webdispatcher_count, 0)
84-
scs_server_count = local.application.scs_high_availability ? 2 * local.application.scs_server_count : local.application.scs_server_count app_zones = local.app_zones
84+
scs_server_count = local.application.scs_high_availability ? 2 * local.application.scs_server_count : local.application.scs_server_count
85+
app_zones = local.app_zones
8586
scs_zones = local.scs_zones
8687
web_zones = local.web_zones
8788
db_zones = local.db_zones
@@ -98,13 +99,15 @@ Next, you need to point your other Terraform module files to your custom naming
9899
- `deploy\terraform\run\sap_library\module.tf`
99100
- `deploy\terraform\run\sap_deployer\module.tf`
100101

101-
For each file, change the source for the module `sap_namegenerator` to point to your new naming module's location. For example `module "sap_namegenerator" { source = "../../terraform-units/modules/sap_namegenerator"` becomes `module "sap_namegenerator" { source = "../../../../Contoso_naming"`.
102+
For each file, change the source for the module `sap_namegenerator` to point to your new naming module's location. For example:
103+
104+
`module "sap_namegenerator" { source = "../../terraform-units/modules/sap_namegenerator"` becomes `module "sap_namegenerator" { source = "../../../../Contoso_naming"`.
102105

103106
## Change resource group naming logic
104107

105108
To change your resource group's naming logic, navigate to your custom naming module folder (for example, `Workspaces\Contoso_naming`). Then, edit the file `resourcegroup.tf`. Modify the following code with your own naming logic.
106109

107-
```json
110+
```terraform
108111
locals {
109112
110113
// Resource group naming
@@ -135,7 +138,7 @@ To change your resource suffixes, navigate to your custom naming module folder (
135138
> Only change the map **values**. Don't change the map **key**, which the Terraform code uses.
136139
> For example, if you want to rename the administrator network interface component, change `"admin-nic" = "-admin-nic"` to `"admin-nic" = "yourNICname"`.
137140
138-
```json
141+
```terraform
139142
variable resource_suffixes {
140143
type = map(string)
141144
description = "Extension of resource name"

0 commit comments

Comments
 (0)