Miguel
05/31/2022, 4:13 PMAppConfig stack
which will need to access every other stack’s output values. The only way I see to do this with SST is by returning the outputs in every stack, then importing them all one by one in the AppConfig
stack and then accessing the exported values. Is there any way to make this dynamic like accessing every stack deployed from a loop inside the AppConfig stack?
My intention is to create a configuration with certain values from each stack so it can be used later from Lambda functions and suchthdxr
05/31/2022, 4:16 PMthdxr
05/31/2022, 4:16 PMthdxr
05/31/2022, 4:16 PMthdxr
05/31/2022, 4:16 PMMiguel
05/31/2022, 4:18 PMMiguel
05/31/2022, 4:19 PMthdxr
05/31/2022, 4:20 PMapp.addDefaultFunctionEnv
to load defaults progressivelythdxr
05/31/2022, 4:20 PMthdxr
05/31/2022, 4:22 PMsst.Parameter
as you can see from this prototype: https://github.com/serverless-stack/serverless-stack/blob/master/examples/parameter-prototype/stacks/MyStack.ts but even here we don't have a central place.
hard to maintain things like typesafety when doing soMiguel
05/31/2022, 4:26 PMappconfig "file"
in aws and you can access your configuration parameters at runtimeMiguel
05/31/2022, 6:09 PM