ambitious-father-68746
06/30/2021, 2:38 PMif
doesn't work because an Output is not a boolean. I've found a solution where I can shove the creation of the resource inside an apply()
, but then I can't refer to that resource from outside the apply().
Any ideas?billowy-army-68599
06/30/2021, 2:41 PMapply()
?ambitious-father-68746
06/30/2021, 2:43 PMapply()
solution was more of a PoC, I don't think it will work in the long term.billowy-army-68599
06/30/2021, 2:48 PMif azure {
// create
}
ambitious-father-68746
06/30/2021, 2:48 PMdef
, this way they can reference each other. The apply()
calls the function with all the necessary arguments.
This works for my particular problem and actually makes it a bit more readable as well, since everything inside the function is a string.