Set up a Lambda integration

April 26, 2023
May 30, 2023

Setting up an integration between FireTail and Lambda enables you to connect an alert to Lambda. When you create an alert you will be able to select the Lambda integration you have created as the method of receiving your alert notification.

1. Go to the Integrations tab on the dashboard. Click Create Integration.

2. Select Lambda Function.

3. You can either:

  • Use a Launch Cloudformation template - this is a template that adds a role to the account.
  • ‍Manually deploy. To do this, click Manual setup of IAM Role and follow the onscreen instructions.

4. When using the template, select the Launch IAM role cloudformation template heading.

5. Log in to AWS. Then return to the FireTail platform. 

6. Click Launch Cloudformation to launch the template. This opens in a new window.

7. Copy the value in the LambdaFunctionARN field.

8. Return to the FireTail platform. Paste the copied value in the AWS Function ARN field. Note: the existing value in this field is a placeholder and should be replaced with the generated value.

9. Return to the already opened Cloudformation template. Select the checkbox; I acknowledge that AWS CloudFormation might create IAM resources. Click Create stack.

10. When the CloudFormation Stack has a status of CREATE_COMPLETE, copy the FiretailRoleARN from the Outputs tab.

11. Return to the FireTail platform. Paste the copied value in the AWS role ARN field.

12. (Optional) Edit the Lambda event payload. This is the text and information that will be populated into the Lambda when an alert is triggered. You can change the text and tokens in the payload. For more information and a list of all tokens, go to Dynamic variables.

13. Click Submit.

The integration is created and listed under the integrations page. You can now select this notification integration when you create an alert. Learn more about alerts here.