Skip to content

Commit 1ff13e6

Browse files
author
Kimmo Forss
committed
Further edits
1 parent 7880ef8 commit 1ff13e6

File tree

1 file changed

+63
-3
lines changed

1 file changed

+63
-3
lines changed

articles/sap/automation/deploy-control-plane.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,72 @@ The sample deployer configuration file `MGMT-WEEU-DEP00-INFRASTRUCTURE.tfvars` i
6464

6565
The sample SAP library configuration file `MGMT-WEEU-SAP_LIBRARY.tfvars` is located in the `~/Azure_SAP_Automated_Deployment/samples/Terraform/WORKSPACES/LIBRARY/MGMT-WEEU-SAP_LIBRARY` folder.
6666

67-
Run the following command to create the deployer and the SAP library. The command adds the service principal details to the deployment key vault. If you followed the web app setup in the previous step, this command also creates the infrastructure to host the application.
67+
You can copy the sample configuration files to start testing the deployment automation framework.
68+
69+
A minimal Terraform file for the `DEPLOYER` might look like this example:
70+
71+
```terraform
72+
# The environment value is a mandatory field, it is used for partitioning the environments.
73+
environment = "MGMT"
74+
# The location/region value is a mandatory field, it is used to control where the resources are deployed
75+
location = "westeurope"
76+
77+
# management_network_address_space is the address space for management virtual network
78+
management_network_address_space = "10.10.20.0/25"
79+
# management_subnet_address_prefix is the address prefix for the management subnet
80+
management_subnet_address_prefix = "10.10.20.64/28"
81+
82+
# management_firewall_subnet_address_prefix is the address prefix for the firewall subnet
83+
management_firewall_subnet_address_prefix = "10.10.20.0/26"
84+
firewall_deployment = false
85+
86+
# management_bastion_subnet_address_prefix is the address prefix for the bastion subnet
87+
management_bastion_subnet_address_prefix = "10.10.20.128/26"
88+
bastion_deployment = true
89+
90+
# deployer_enable_public_ip controls if the deployer Virtual machines will have Public IPs
91+
deployer_enable_public_ip = false
92+
93+
# deployer_count defines how many deployer VMs will be deployed
94+
deployer_count = 1
95+
96+
# use_service_endpoint defines that the management subnets have service endpoints enabled
97+
use_service_endpoint = true
98+
99+
# use_private_endpoint defines that the storage accounts and key vaults have private endpoints enabled
100+
use_private_endpoint = false
101+
102+
# enable_firewall_for_keyvaults_and_storage defines that the storage accounts and key vaults have firewall enabled
103+
enable_firewall_for_keyvaults_and_storage = false
104+
105+
# public_network_access_enabled controls if storage account and key vaults have public network access enabled
106+
public_network_access_enabled = true
107+
108+
```
109+
110+
Note the Terraform variable file locations for future edits during deployment.
111+
112+
A minimal Terraform file for the `LIBRARY` might look like this example:
113+
114+
```terraform
115+
# The environment value is a mandatory field, it is used for partitioning the environments, for example, PROD and NP.
116+
environment = "MGMT"
117+
# The location/region value is a mandatory field, it is used to control where the resources are deployed
118+
location = "westeurope"
119+
120+
#Defines the DNS suffix for the resources
121+
dns_label = "azure.contoso.net"
122+
123+
# use_private_endpoint defines that the storage accounts and key vaults have private endpoints enabled
124+
use_private_endpoint = false
125+
```
126+
127+
Note the Terraform variable file locations for future edits during deployment.
128+
129+
Run the following command to create the deployer and the SAP library. The command adds the service principal details to the deployment key vault.
68130

69131
# [Linux](#tab/linux)
70132

71-
You can copy the sample configuration files to start testing the deployment automation framework.
72133

73134
Run the following command to deploy the control plane:
74135

@@ -89,7 +150,6 @@ export SAP_AUTOMATION_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-auto
89150
az logout
90151
az login --service-principal -u "${ARM_CLIENT_ID}" -p="${ARM_CLIENT_SECRET}" --tenant "${ARM_TENANT_ID}"
91152

92-
93153
cd ~/Azure_SAP_Automated_Deployment/WORKSPACES
94154

95155

0 commit comments

Comments
 (0)