Is there an equivalent of a stack management tool for pulumi such as terragrunt (in the terraform wo...
b
Is there an equivalent of a stack management tool for pulumi such as terragrunt (in the terraform world), where the tool helps manage multiple related stacks while keeping them as separate stacks. If not how is that handled in pulumi? From my understanding, pulumi is similar to terraform in that it is not recommended to put all resources in a single stack but to have some kind of strategy to structure your resources (ex: in layers, or by update frequency). In terraform this leads to many root workspaces (pulumi stacks) that have dependencies on each other (ex: subnet ids, db ips).
f
there's not - to my knowledge - a 1:1 tool in Pulumi that's equivalent to
terragrunt
but that's because most of its features (catalogs/scaffolds, flags, multi-stack exec, multi providers+creds, etc.) are integrated as first-class functionality into Pulumi itself. in terms of program/stack architecture, take the k8s playbook for example: it suggests 6 programs (with their own stacks) with stack references - that's managing those inter-stack dependencies for you and enables cascading updates via Pulumi Deployments