serverless-plugin-additional-stacks
serverless-plugin-additional-stacks copied to clipboard
Getting output from additional stacks
I got additional stack which creates DynamoDB table, and I need to use ARN of that table in my main primary stack to give the lambda some permissions.
How can I get Outputs from additional stack?
Thanks!
Hello. Unfortunately this is quite tricky, because Serverless will expand all variables, including CloudFormation output references, before deploying the stack. So there probably isn't any good solution for referring to the outputs in your serverless.yaml.
Thanks for the quick answer. Hardcoding the value was the only option in my case :)