It is now time to create our second real Lambda function: User Registration Lambda. Create the required directory structure and add the lambda-userregistration module to the settings.gradle file so that Gradle accepts it as a module:
$ mkdir -p lambda-userregistration/src/main/java/ com/serverlessbook/lambda/userregistration $ echo "include 'lambda-userregistration " >> settings.gradle
We have to create a build.gradle file for this module and dependencies for the user service and Guice, which is pretty much the same as the authorizer Lambda. Let's create the file first:
$ touch lambda-userregistration/build.gradle
Then, let's paste this block:
dependencies { compile group: 'com.google.inject', name: ...