elastic / elastic/elastic-serverless-forwarder

Export ESF queue and function ARNs as CloudFormation outputs

Open
#392 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
38
Forks
50
PR merge metrics
No merged PRs in 30d

Description

**Describe the enhancement:**

It would be useful to have access to the ARNs of the SQS queues and the Lambda function created for the ESF as part of the application deployment to use in other CloudFormation stacks built outside of the ESF.

This includes the following ESF resources (four SQS queues, one Lambda function) that are created as part of the forwarder application's nested stack (using the logical IDs in the stack):
- ElasticServerlessForwarderContinuingDLQ
- ElasticServerlessForwarderContinuingQueue
- ElasticServerlessForwarderReplayDLQ
- ElasticServerlessForwarderReplayQueue
- ApplicationElasticServerlessForwarder

**Describe a specific use case for the enhancement or feature:**

These outputs would be useful to set up some additional form of monitoring on the ESF, e.g.:

- Add a CloudWatch Alarm to monitor the error rate of the forwarder function
- Set up an EventBridge rule to monitor the DLQs, and notify an SNS topic if there are messages

At the moment, any of these additional resources would need to be created separately after manually sourcing the ARNs of the created ESF resources, so cannot be used in a single deployment (e.g. a CDK stack deployment with a dependency). Two separate deployments are needed, as the ESF must be deployed before any supplementing resources.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.