OASP4FnDeployment - Jorge-Dacal/devonfw-tutorial-sources GitHub Wiki
Table of Contents
The deployment is performed by the serverless framework and it’s quite simple, you only have to run the following command to deploy the full service:
sls deploy
Important
|
This command will fail if the AWS credentials are missing. For more information see serverless credentials |
When the deploy is finish with no errors, you will have a command line output with the endpoints and the functions deployed.
Note that until now we have been working locally, so if we gonna deploy our handlers and make them work, we should change the endpoint of our services:
oasp4fn.setDB(dynamo, {endpoint: 'https://dynamodb.us-west-2.amazonaws.com'});
Note
|
You can get more information about the deployment in the serverless documentation, but be aware that OASP4Fn doesn’t support the deployment of a single function. |