https://pulumi.com logo
Title
s

stocky-crayon-93563

01/06/2021, 1:37 PM
Hi, anyone had any luck with Azure front door and the rules engine. Seems like there's a circular dependency. I've got a front door created using the Pulumi.Azure provider and have created a RulesEngine using the Nextgen provider but I can't figure out how to associate the rulesengine to the routing rule. BTW frontdoor was something I had already created with the Pulumi.Azure provider and wasn't looking to move it to nextgen just yet (time constraints). The only solution I can think of it to use a script using azure cli to do the association but that means it's a separate step outside of Pulumi
t

tall-librarian-49374

01/06/2021, 2:38 PM
Yeah, API’s like this suck… I don’t have a great answer, unfortunately. Any ideas about what we could do?
s

stocky-crayon-93563

01/06/2021, 5:30 PM
I'm guessing we're not able to retrieve routing rules and modify them after the initial construction of the front door? The azure cli command to associate the rule is pretty trivial but I just need a way of doing it programmatically. Is there something better than Process.Start in the C# code?
t

tall-librarian-49374

01/06/2021, 7:37 PM