Follow these steps to create two lamda functions.

We use AWS Lambda to deploy the services to an ECS Cluster. The Lambda function helps us to create a cloudformation stack from the output of codebuild.

The Lambda function can be found here .