Skip to content

Commit 20b1239

Browse files
committed
Removed explicit dependsOn
According to https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/compare-template-syntax#resource-dependencies explicit dependencies should be avoided (as they get implicitly created by using the variable/other resource).
1 parent c12b6ac commit 20b1239

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

articles/azure-resource-manager/bicep/scope-extension-resources.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ resource roleAssignStorage 'Microsoft.Authorization/roleAssignments@2020-04-01-p
114114
principalId: principalId
115115
}
116116
scope: demoStorageAcct
117-
dependsOn: [
118-
demoStorageAcct
119-
]
120117
}
121118
```
122119

0 commit comments

Comments
 (0)