This message was deleted.
# general
s
This message was deleted.
b
that's pretty much what i've done..
but I'm typing the output from the first stack and using that type to ensure I'm interpreting the stack reference correctly
Copy code
const refStack = new pulumi.StackReference(`${referenceStackName}-reference`, {name: referenceStackName});
    
    refStack.getOutput("stackInfo").apply(async (infra:FullStackOutput) => {
        const regions = Object.keys(infra);
        let providers: ProviderObject = {}
        let primaryVault: VaultParam = {
            resourceGroupName: "",
            vaultName: ""
could also be that you need to wrap it to get the details 😉
b
@better-shampoo-48884 wow, thanks, let me try 🙂
b
i.e.
.getOutput("dbConfig").apply(dbconf => {
b
thanks for the quick reply Johannes! he's absolutely right, you'll need to use
apply
to retrieve the keys