Say I have a stack that depends on the output of a...
# general
b
Say I have a stack that depends on the output of another stack. when I update the parent stack and the output changes, what is the “best practice” way to cascade changes down to all dependent stacks? currently it seems i need to go and manually run updates in all dependant stacks. the documentation mentions “cascading updates”, is there some other way of managing this? https://www.pulumi.com/docs/intro/concepts/organizing-stacks-projects/#inter-stack-dependencies
g
Best way currently is to use webhooks to trigger the downstream updates in a CD pipeline.
b
is there some example docs on how this would work?
g
Webhooks info is at https://www.pulumi.com/docs/intro/console/extensions/webhooks/, but I don't think we have a CD-specific example.