@@ -44,7 +44,7 @@ The following example sets the scope for a module to a management group.
44
44
``` bicep
45
45
param managementGroupIdentifier string
46
46
47
- module 'module .bicep' = {
47
+ module 'mgModule .bicep' = {
48
48
name: 'deployToMG'
49
49
scope: managementGroup(managementGroupIdentifier)
50
50
}
@@ -170,7 +170,7 @@ The following example scopes a module to a resource group.
170
170
``` bicep
171
171
param resourceGroupName string
172
172
173
- module exampleModule 'module .bicep' = {
173
+ module exampleModule 'rgModule .bicep' = {
174
174
name: 'exampleModule'
175
175
scope: resourceGroup(resourceGroupName)
176
176
}
@@ -208,11 +208,11 @@ You can also use the resourceGroup function to apply tags from the resource grou
208
208
209
209
` subscription() `
210
210
211
- Returns an object used for setting the scope to a subscription .
211
+ Returns details about the subscription for the current deployment .
212
212
213
213
` subscription(subscriptionId) `
214
214
215
- Returns details about the subscription for the current deployment .
215
+ Returns an object used for setting the scope to a subscription .
216
216
217
217
Namespace: [ az] ( bicep-functions.md#namespaces-for-functions ) .
218
218
@@ -250,7 +250,7 @@ When used for getting details about the subscription, the function returns the f
250
250
The following example scopes a module to the subscription.
251
251
252
252
``` bicep
253
- module exampleModule 'module .bicep' = {
253
+ module exampleModule 'subModule .bicep' = {
254
254
name: 'deployToSub'
255
255
scope: subscription()
256
256
}
@@ -287,7 +287,7 @@ An object used for setting the `scope` property on a [module](modules.md#set-mod
287
287
The following example shows a module deployed to the tenant.
288
288
289
289
``` bicep
290
- module exampleModule 'module .bicep' = {
290
+ module exampleModule 'tenantModule .bicep' = {
291
291
name: 'deployToTenant'
292
292
scope: tenant()
293
293
}
0 commit comments