Issue with AWS Lambda URL and Aliases - "Forbidden" Error

0

Hello everyone,

I have a Lambda function that serves as a resource in AWS. I've set up different aliases to represent different environments (e.g., development, production, testing, etc.). My goal is to generate a unique URL for each alias so that I can access the Lambda function in each environment.

When the "resource base policy" is generated to make it public (in an alias), the ARN of the lambda in the policy does not specify the alias. As a result, when I try to access the Lambda function using the generated URL, I receive a "Forbidden" error, I've noticed a critical detail in the policy, regardless of whether you add it to an alias, always seems to be created in the "$LATEST" version of the Lambda function

Has anyone encountered a similar problem or can provide guidance on how to resolve this issue?

Regards,

Juan M
질문됨 4달 전67회 조회
답변 없음

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

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

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

관련 콘텐츠