Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ESF queue and function ARNs as CloudFormation outputs #392

Open
lewismarsden-xft opened this issue Jun 2, 2023 · 2 comments
Open

Comments

@lewismarsden-xft
Copy link

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.

@aspacca
Copy link
Contributor

aspacca commented Jun 5, 2023

@lewismarsden-xft. we'll add the feature request to our planning and keep you posted on the progress

@aspacca
Copy link
Contributor

aspacca commented Feb 22, 2024

@lewismarsden-xft outputs for Lambda function ARN and IAM Role ARN were added on v1.12.0.

I will keep the issue open for adding:

  • ElasticServerlessForwarderContinuingDLQ
  • ElasticServerlessForwarderContinuingQueue
  • ElasticServerlessForwarderReplayDLQ
  • ElasticServerlessForwarderReplayQueue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants