-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing variables/resources between parent and child stacks? #15
Comments
I have a use case were I need the outputs from one stack into the next one. I'm having a hard time referencing the depended stack since its ID has a random suffix. Is there a way to accomplish this ? getting the outputs from one nested stack into another ? |
Seconded @gio-trueper's issue. I am trying to reference an export from a nested stack, but cannot figure out the stack id since it is randomly generated. |
I have figured this out. Below are my I am referencing the CloudFront Distribution Id from the nested stack in the serverless.yml file. Notice the export of CFDistributionId in serverless.yml:
react-infrastructure.yml:
|
Hi, I'm new to serverless and I'm still learning. I have the need for an ALB and a nat gateway to be shared so that other stacks that are going to have some lambdas can use them. I think your answer could be my guide but how do you command execute when deploying? Serverless automatically detects that the serverless.yml file needs react-infrasctructure.yml ?. really appreciate your help |
The documentation doesn't seem to mention anything about this. Is it possible? If so, how?
The text was updated successfully, but these errors were encountered: