hey, team. Is it possible to add rules / frontends...
# azure
hey, team. Is it possible to add rules / frontends to FrontDoor from another stack? I can imagine we can get the resource by https://www.pulumi.com/docs/reference/pkg/azure-nextgen/network/getfrontdoor/, but can edit it?
will pulumi understand if I just do frontdoor.frontendsPools = [];
The lookup functions like
return "read-only" views of those resources so you cannot modify them that way.
I think there is not a way to achieve what you're asking for. You can import a resource (https://www.pulumi.com/docs/intro/concepts/programming-model/#import), but that would mean your FrontDoor resource is in two stacks and would cause a conflict when you did an
in both stacks.
@gentle-diamond-70147 cool, thanks!
probably creation of another frontdoor instance is fine with me as for now