Skip to content

How to define a parent if I use if expression? #15684

Answered by GABRIELNGBTUC
guimatheus92 asked this question in Q&A
Discussion options

You must be logged in to vote

I am not familiar with the kusto resources so if any conditional is not needed you can remove them.

If the zones cannot be null, I would assume that you should provide as a value an array either 1, 2 or 3. If a resource is not zonal, it should select one zone at random in the backend and specifying a single zone yourself would reproduce the scenario of non zonal cluster.

A bit like how VMs can be placed in specific availability zones and if not provided, they are put in a single zone in an opaque way.

If this does not work, as an alternative, you could create a submodule to put zonal specific code in there.

EDIT:

I successfully deployed a non zonal Azure Data Explorer cluster with the fol…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@guimatheus92
Comment options

@GABRIELNGBTUC
Comment options

Answer selected by guimatheus92
@guimatheus92
Comment options

@GABRIELNGBTUC
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