Publish Lambda Function in AWS Publish Lambda Function in AWS powershell powershell

Publish Lambda Function in AWS


I was simply missing the Runtime parameter

Publish-LMFunction -FunctionName $FunctionName -FunctionZip $zipFilePath -Handler exports.handler -Role arn:aws:iam:$AccountNumber:role/$RoleName -Region $Region -Runtime nodejs4.3

Their documentation shows it as required but when you are writing in the Powershell ISE it does not put an asterisk by the field.