Open MariusStorhaug opened 2 years ago
I will go through discovery phase of which modules have this case
All cases (This will be a running list)
Notes from today add outputs in reference output example1 { }
server_rbac.output.example1
publicIPAddress: {
id: !(empty(publicIPAddressId)) ? publicIPAddressId : publicIPAddress.outputs.publicIPAddressResourceId
}
found all references to cases of lists generated by for loop by vscode regex searching with
"resource.*[for"
this gets the inventory of all cases that have dynamic array generated. Need to get inventory of hardcoded array as well
schedule a meeting with @MariusStorhaug for next week to review a sample of code to get feedback about using it across all bicep files
As resources cannot be returned, I don't think this can be technically implemented right now. If I recall correctly, there exists an issue for that in the Bicep repo
The capability to pass/return resources is on the roadmap to be implented in a future bicep version (scheduled to hit before Bicep Version 1.0 in summer). This must be supported before we can implement the feature.
Unassigning as it has been a while and I don't expect @jontreynes to work on it any time soon. The required capability in Bicep is still not available.
Description
Output values should return info about parents and children, allowing for outputs something like
Suggestion on parent
Suggestion on children: