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 個月前檢視次數 193 次
1 個回答
0
profile picture
專家
已回答 5 個月前
  • No. I had previously checked that website

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南