Attempting to give user permissions to lamba function to associate it with a CloudFront distro

0

Hi Everyone,

Apologies if this is a stupid question but I am attempting to setup a Lamba function as an origin request handler in a CloudFront distribution. I was reading through https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-permissions.html which seems simple enough that I need to grant my account permissions to call the function to the distro...makes sense.

The problem I am having is just assigning the permissions. We use an external identity provider and I couldn't find the ARN for my account in the IAM Identity Center listed anywhere but I may just be blind. I found when signing up for Repost it displayed my ARN so I attempted to use that to grant myself permission but I just get an error that

"was invalid. Member must satisfy expression: [\w+=,.@-]* Please check your input and try again." so I must have the incorrect ARN.

I am sure I am overlooking something easy but I am a noob and just am looking for help. Thanks Amazon. What's the easiest way to pull my ARN for my account with an external identity provider? Am I formatting something wrong with the submission? Not sure if sharing the ARN has any critical internal data.

1개 답변
1

I figured this out, it needs the principle role ARN from the role instead of from the specific user account. Thanks all.

답변함 4달 전

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

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

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

관련 콘텐츠