The role defined for the function cannot be assumed by Lambda

后端 未结 11 1275
野性不改
野性不改 2021-02-04 23:29

I\'m getting the error \"The role defined for the function cannot be assumed by Lambda\" when I\'m trying to create a lambda function with create-function command.

11条回答
  •  终归单人心
    2021-02-05 00:21

    I had this error simply because I had a typo in the role ARN. I really wish the error was more explicit and said something along the lines of "this role doesn't exist", but alas.

提交回复
热议问题