Skip to content

Commit a879f81

Browse files
committed
fixes
1 parent b0a663a commit a879f81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-resource-manager/bicep/bicep-functions-scope.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following example sets the scope for a module to a management group.
4444
```bicep
4545
param managementGroupIdentifier string
4646
47-
module 'module.bicep' = {
47+
module 'mgModule.bicep' = {
4848
name: 'deployToMG'
4949
scope: managementGroup(managementGroupIdentifier)
5050
}
@@ -170,7 +170,7 @@ The following example scopes a module to a resource group.
170170
```bicep
171171
param resourceGroupName string
172172
173-
module exampleModule 'module.bicep' = {
173+
module exampleModule 'rgModule.bicep' = {
174174
name: 'exampleModule'
175175
scope: resourceGroup(resourceGroupName)
176176
}
@@ -208,11 +208,11 @@ You can also use the resourceGroup function to apply tags from the resource grou
208208

209209
`subscription()`
210210

211-
Returns an object used for setting the scope to a subscription.
211+
Returns details about the subscription for the current deployment.
212212

213213
`subscription(subscriptionId)`
214214

215-
Returns details about the subscription for the current deployment.
215+
Returns an object used for setting the scope to a subscription.
216216

217217
Namespace: [az](bicep-functions.md#namespaces-for-functions).
218218

@@ -250,7 +250,7 @@ When used for getting details about the subscription, the function returns the f
250250
The following example scopes a module to the subscription.
251251

252252
```bicep
253-
module exampleModule 'module.bicep' = {
253+
module exampleModule 'subModule.bicep' = {
254254
name: 'deployToSub'
255255
scope: subscription()
256256
}
@@ -287,7 +287,7 @@ An object used for setting the `scope` property on a [module](modules.md#set-mod
287287
The following example shows a module deployed to the tenant.
288288

289289
```bicep
290-
module exampleModule 'module.bicep' = {
290+
module exampleModule 'tenantModule.bicep' = {
291291
name: 'deployToTenant'
292292
scope: tenant()
293293
}

0 commit comments

Comments
 (0)