2017-12-08, 13:25
(2017-12-08, 12:08)csbiberle Wrote:Yeah, you are following a really old tutorial for a really old version.(2017-03-05, 22:41)digiltd Wrote: @Coolzero
This part of the error shows the problem
Quote:Code:botocore.exceptions.ClientError: An error occurred (ValidationException) when ca
lling the CreateFunction operation: 1 validation error detected: Value 'arn:aws:
iam::123123123123:user/Kodi' at 'role' failed to satisfy constraint: Member must
satisfy regular expression pattern: arn:aws:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\
-_/]+
For LAMBDA_ROLE you have put the details for a "user" when it should be a "role".
Go through this section again https://github.com/m0ngr31/kodi-alexa#aws-variables and make sure what you are pasting in looks something like:
Code:arn:aws:iam::123123123123:role/role_name_you_used
Good luck
I am also having this problem but I am very certain that my ARN variable relates to a role:
arn:aws:iam::[lots of numbers]:role/lambda-kodi
I have followed the tutorial given out here https://www.youtube.com/watch?v=_KSlz_lT1k4
Where should I go next?
The video description also mentions this "Since creating this tutorial the code has changed. If you want to follow this video you will need to use this older version of the code"
Best to start again (go into AWS and delete your lambda functions as well) and follow the readme on the official repo https://github.com/m0ngr31/kodi-alexa