Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
i
icy-jordan-58549
10/20/2020, 3:05 PM
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 = [];
g
gentle-diamond-70147
10/20/2020, 5:47 PM
The lookup functions like
GetFrontDoor
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
up
in both stacks.
i
icy-jordan-58549
10/21/2020, 9:51 AM
@gentle-diamond-70147
cool, thanks!
probably creation of another frontdoor instance is fine with me as for now
3 Views
#azure
Join Slack