Error with assumed-role while trying to call a Lambda UDF from Redshift

0

I am trying to use an UDF Function in Redshift. and the IAM Role associated with it has "lambda:InvokeFunction" on all resource enabled.

However, when I tried to run the query :-

SELECT f_udf_func(person_name, 'A') FROM "users"."tbl_user_detl";

However, I am getting the following error :-

ERROR: User: arn:aws:sts:<account-id>:assumed-role/redsift-exec-role/RedshiftIamRoleSession is not authorised to perform : lambda:InvokeFunction on resource <lambda_arn> bec Detail:---------------------------------------
  1. I am unable to figure out, since the IAM Role has all the necessary permissions for lambda.
  2. Also, please tell me what this arn:aws:stsmeans . I had never come this previously
AB
질문됨 5달 전195회 조회
1개 답변
0
profile picture
전문가
답변함 5달 전
  • No. I had previously checked that website

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠