Skip to content

Spurious no unnecessary dependsOn entries lint error in 0.32.4 #15828

Answered by jeskew
Ilia-Kosenkov asked this question in Q&A
Discussion options

You must be logged in to vote

I assume bicep is smart enough to resolve indirect dependencies over multiple modules, right?

Right. This analysis has been in place for resources since the early days of Bicep, but it was only enabled for modules in v0.32. With the dependsOn removed from main.bicep, in the compiled template, functionAppSettingsDeployment still depends on storageDeployment, which in turn depends on functionAppDeployment.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Ilia-Kosenkov
Comment options

@jeskew
Comment options

@Ilia-Kosenkov
Comment options

@jeskew
Comment options

Answer selected by Ilia-Kosenkov
@Ilia-Kosenkov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants