Skip to content
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

Dependencies between services #11

Open
egut opened this issue Apr 11, 2018 · 0 comments
Open

Dependencies between services #11

egut opened this issue Apr 11, 2018 · 0 comments

Comments

@egut
Copy link

egut commented Apr 11, 2018

This look promising. I was just about to add question to the forum about how to organize multiple services any you have the tool :)

On thing I don't see is dependencies or run order to deploy B you first have to deploy A.
eg to deploy API you need to deploy the cognito first.

This can be done with specifying the service order in the main serverless.yml file:

service: main
custom:
  deployorder:
    - cognito
    - api
      :

or dependencies in the specific serverless.yml files:

service: api
custom: 
  dependencies:
     - cognito

 : 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant