Ex_aws lambda invoke is undefined

yep! the solution was to remove the optional: true and all was fine. The warning was gone from the parent app.