-
Notifications
You must be signed in to change notification settings - Fork 72
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
Question: How do references to other components' output work? #16
Comments
Same question here. Similarly, if you run serverless deploy in the root folder, how does it know the dependency graph to define the order of operations in which to deploy? I.e. the database must be deployed prior to the api etc. |
The output variable format is like this:
This would find the instance named @tommedema the CLI collects all the yaml files in child directories and does some basic static analysis, to figure out the output references. |
@eahefnawy does it then do a graph analysis to ensure that dependencies are deployed prior to dependents etc.? |
This is a more general question about working with Serverless Components, not necessarily specific to this repo. If there's a better place to post this, let me know.
The API component in this repo references output from the permissions and database components. How does that work?
See api/serverless.yml lines 9, 17, and 19:
AFAICT, the only linkages between the API component and the permissions component are the
app
values, and directory structure (api/
andpermissions/
being siblings).I'm trying to add a layer to a lambda using those conventions—sibling directories, same
app
values—but I keep gettinginvalid reference ${output:commoncode.arnVersion}
. What am I missing? How do these output references work?The text was updated successfully, but these errors were encountered: