Today we launched support for automatically updating dependent stacks via
#C048NVDH6DV 🚀
https://www.pulumi.com/blog/dependent-stack-updates/
This is accomplished via two new features within Pulumi Cloud:
1.
Deployment Webhook Destinations for triggering downstream stack updates automatically
2.
The Pulumi Auto Deploy Package for easily expressing dependencies and configuring downstream updates via Deployment Webhooks.
The Auto Deploy Package makes it easy to express dependencies between stacks and Pulumi Deployments takes care of keeping them up to date:
export const b = new autodeploy.AutoDeployer("auto-deployer-b", {
organization,
project,
stack: "b",
downstreamRefs: [d.ref, e.ref, f.ref],
});
export const a = new autodeploy.AutoDeployer("auto-deployer-a", {
organization,
project,
stack: "a",
downstreamRefs: [b.ref, c.ref],
});
Please feel free to submit feedback and open feature requests via
https://github.com/pulumi/pulumi-cloud-requests
Happy building! 🚀