This message was deleted.
# general
s
This message was deleted.
b
Hi @happy-forest-75452, this is definitely doable. The general approach to doing this is to define an "infrastructure" stack that defines the RDS database (or ECS cluster, networks, etc, anything that is meant to be shared). Then using the stack exports feature (see https://pulumi.io/tour/programs-exports.html), you can export the name of that database, and then use that to configure inputs to the container and lambda stacks (see https://pulumi.io/tour/programs-configuration.html). We have planned support for more first class cross-stack linking (tracked by https://github.com/pulumi/pulumi/issues/109), however many people are doing this by hand and it works nicely. Does this help?
💯 1
h
Thank you so much for the detailed explanation, I will be exploring this approach soon!
👍 1