Open kamil-mrzyglod opened 6 years ago
I think it will be difficult. Based on many templates from arm templates I see 'dependsOn' often use one of ARM templates functions like: resourceId, concat, variables or parameters.
So this doesn't look like simple select checkbox fields.
Any ideas ?
@BienioM The way how parser currently works, it "compiles" all those functions based on the values provided. This way the object representation of a template contains only evaluated values - not those functions.
The idea is to somehow connect those fields to an id
field, which each resource parsed by ARMata
has. It might require some refactoring, hard to decide before we start implementation :)
I can provide more information if needed or we can discuss other approaches if you have your own.
Is this task somehow ongoing? This is one of the main features to be done before going RC
so please let me know if you'd like to still go for it.
Currently the only way to add/change a dependency is to directly edit a template. It would be viable to add a possiblity to select dependencies directly on the
Selected resource
screen.