Azure / Azure/nxtools

Is 'DependsOn' supported for all guest configuration / nxtools resources?

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
20
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I expected to be able to use the 'DependsOn' property to enforce a specific sequence in one of my configurations.
i.e. instead of simply executing the configuration in sequential order, which is the default, I set 'DependsOn' to configure a non-sequential order in one specific case.

I expected the resource configured as the dependency in 'DependsOn' property of the reliant resource to be executed first and until it does, the reliant resource should not have been executed.

However in practice I'm seeing that this is not happening. I got an error on the second resource which indicates that the first one that it was dependent upon did not get executed beforehand.

This makes me wonder, is 'DependsOn' really supported? It doesn't generate any syntax errors, but it seems it is not effective.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.