Search code examples
amazon-web-servicesaws-lambdaamazon-sqs

Lambda console not opening function with :live alias by default


Background: I have set a SQS trigger in the latest lambda code. In CFN template, this property is set AutoPublishAlias: live

Problem When I open Lambda function from the console, it doesn't show the trigger attached in UI. However, if I navigate to SQS and open the trigger from there(using View in Lambda option), it opens the lambda function with :live alias and now i can see the trigger.

Question: I am confused why default lambda($LATEST) is not showing the trigger?

When I open the function from functions list in lambda console When I open the trigge from SQS console-->View in Lambda


Solution

  • Triggers are not shown by default on the lambda function homepage/landing page. They show up on the Aliases tab. If you want to see the triggers, do the following:

    1. Visit AWS Console
    2. Go to Lambda Homepage
    3. Search for the function and go to the function homepage
    4. Below the function overview box, there are tabs. Go to Aliases tab
    5. Click on the live alias
    6. You should see your triggers on the alias.

    Attached screenshots.

    enter image description here

    enter image description here