I’m trying to do an adminCreateUser inside a lambda function. For now I’m testing it local with serverless invoke. I based myself on the following:
However, once invoked, there doesn’t seem to be any user created. Also, there is no error printed in my console.
I’m quite new to serverless; and perhaps I’m not setting up my serverless.yaml file up the way I should.
What iam roles do I need to put in the yaml for it to work? Or is there another problem.
All help appreciated.