Skip to content

Commit 777deda

Browse files
committed
Line edits
1 parent 7175d1e commit 777deda

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

learn-pr/azure/modify-azure-resource-manager-template-reuse/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
JSON Azure Resource Manager (ARM) templates provide a few features that can help you deploy software to different environments.
22

3-
Suppose you're managing a software team that's developing an inventory system for your partner companies. Each environment you deploy software to, has different policies implemented through different Azure storage account SKUs. You have an ARM template that deploys a storage account that can be run on each environment. However, you'd like to make it easier to change inputs for each deployment environment. You decide to use variables and functions in the ARM template and parameter files for inputs.
3+
Suppose you're managing a software team that's developing an inventory system for your partner companies. Each environment you deploy software to has different policies implemented through different Azure storage account SKUs. You have an ARM template that deploys a storage account that can be run on each environment. However, you'd like to make it easier to change inputs for each deployment environment. You decide to use variables and functions in the ARM template and parameter files for inputs.
44

55
In this module, you make your ARM template reusable for different environments by adding variables and expressions via Resource Manager functions. You also add better tracking and organization of your deployed resources by using tags. Then, you complete the goal of improving the flexibility of your deployments by using parameter files.
66

learn-pr/azure/modify-azure-resource-manager-template-reuse/includes/2-azure-resource-manager-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To solve this problem, you decide to create an expression by using [ARM template
66

77
ARM template functions add flexibility to your ARM template by dynamically getting values during deployment.
88

9-
To understand functions, you first need to understand expressions. Expressions are values that are evaluated when the template is deployed. They start and end with brackets `[]`, and can return a string, integer, Boolean, array, or object.
9+
To understand functions, you first need to understand expressions. Expressions are values that are evaluated when the template is deployed. They start and end with brackets `[]` and can return a string, integer, Boolean, array, or object.
1010

1111
In the previous module in this learning path, you already worked with expressions in your Resource Manager template. For example, you used:
1212

learn-pr/azure/modify-azure-resource-manager-template-reuse/includes/4-azure-resource-manager-variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ In the previous scenario, you decided to use an expression made up of several Az
44

55
An ARM template variable is a construct that holds a value for later use. Variables are best used when a value needs to be specified in several places in a template. Wherever the variable is used in the template, Resource Manager replaces it with the resolved value.
66

7-
For example, you have an expression that defines a value for a resource location. Several of the resources that you defined in your template require a location. You can create a variable to hold the location expression and then use the variable wherever a location is required.
7+
For example, you have an expression that defines a value for a resource location. Several of the resources that you defined in your template require a location. You can create a variable to hold the location expression, and then use the variable wherever a location is required.
88

99
### Advantages to using ARM template variables
1010

11-
ARM template variables allow you to write an expression once and then use it in several places. Also, maintenance of the expression is in one place, and the template is more readable.
11+
ARM template variables allow you to write an expression once, and then use it in several places. Also, maintenance of the expression is in one place, and the template is more readable.
1212

1313
## How do I use ARM template variables?
1414

0 commit comments

Comments
 (0)