Skip to content

Commit 198afc4

Browse files
Merge pull request #252692 from KimForss/main
Add Library tfvars sample
2 parents be59f8e + 1261045 commit 198afc4

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

articles/sap/automation/tutorial.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,32 @@ If you don't assign the User Access Administrator role to the service principal,
260260
261261
262262
deployer_enable_public_ip = true
263+
264+
deployer_count = 1
265+
266+
use_service_endpoint = true
267+
use_private_endpoint = false
268+
enable_firewall_for_keyvaults_and_storage = true
263269
264270
```
265271
266272
Note the Terraform variable file locations for future edits during deployment.
267273
274+
1. Find the Terraform variable files for the SAP Library in the appropriate subfolder. For example, the `LIBRARY` Terraform variable file might look like this example:
275+
276+
```terraform
277+
# The environment value is a mandatory field, it is used for partitioning the environments, for example, PROD and NP.
278+
environment = "MGMT"
279+
# The location/region value is a mandatory field, it is used to control where the resources are deployed
280+
location = "westeurope"
281+
282+
dns_label = "azure.contoso.net"
283+
284+
use_private_endpoint = false
285+
```
286+
287+
Note the Terraform variable file locations for future edits during deployment.
288+
268289
## Deploy the control plane
269290
270291
Use the [deploy_controlplane.sh](bash/deploy-controlplane.md) script to deploy the deployer and library. These deployment pieces make up the control plane for a chosen automation area.
@@ -334,7 +355,7 @@ The sample SAP library configuration file `MGMT-NOEU-SAP_LIBRARY.tfvars` is in t
334355
335356
The Terraform state file is now placed in the storage account whose name contains `tfstate`. The storage account has a container named `tfstate` with the deployer and library state files. The contents of the `tfstate` container after a successful control plane deployment are shown here.
336357
337-
:::image type="content" source="media/tutorial/terraform-state-files.png" alt-text="Screenshot that shows the control plane tfstate files.":::
358+
:::image type="content" source="media/tutorial/terraform-state-files.png" alt-text="Screenshot that shows the control plane terraform state files.":::
338359
339360
### Common issues and solutions
340361

0 commit comments

Comments
 (0)