This message was deleted.
# general
s
This message was deleted.
r
You could create a ConfigMap on the top level and pass it to setAllConfig for each stack.
👍 1
Is there a way to reference external stack outputs inside an automation inline program?
Can you say more about this part specifically? There is a separate stack that has these outputs?
You can get a stack’s outputs with stack.outputs() which might be helpful
t
My cluster-configuration stack sets up the cluster. I'd like to use that cluster to spin up a rails app in a job to do migrations/(seed or load a sanitized copy of some real data). Ideally I could just pass the parent stacks as process args to the automation api script to initialize/destroy the database at the appropriate start and end caps for a particular feature life cycle.
r
The multi_stack_orchestration example is only in Go but it applies to this use case. If you’re willing to read through some Go code, the concept is applicable: https://github.com/pulumi/automation-api-examples/blob/main/go/multi_stack_orchestration/main.go
t
Totally, thank you