This lab will take you through how Harness can do serverless.com deployments in CD Next Gen. Harness will be able to deploy the serverless functions via the serverless.com framework, verify that the function was deployed successfully, and that the function is tracked and visibile in the service dashboard.
- serverless.com YAML
- AWS Credentials to deploy lambda
- Harness Account
- Github Account
-
Create a Project
-
Create a Pipeline
-
Add a CD Stage
-
Configure a Service
-
Add a Serverless Manifest
-
Add an Artifact for Harness to manage
-
Configure an Environment
-
Configure an AWS Infrastructure Definition
-
Add a Serverless Deploy Step to the Execution Section
-
Run Pipeline
Credit Serverless.com Team provides sample apps, we are building off one of these for our example - https://github.com/serverless/examples/tree/v3/aws-node-rest-api