You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the dlqArn of a construct to send the errors to another lambda function.
When i try to use it in functions.events.sqs I get this error message when I try to deploy
Configuration error at 'functions.handleError.events.0.sqs': must match pattern "^arn:"
When I try to use this placeholder in a ENVIRONMENT of the lambda function, like in the queue.md example, it works fine.
Maybe the preprocessor can't handle this placeholder?
I am also seeing this issue, but when following your example:
...
handler: 'pathToHandler.handler'
events:
- sqs:
arn: '${construct:myContructQueue.dlqArn}'
...
I get the following message:
[!] Invalid configuration encountered
at 'functions.handleFailureFunction.events.0.sqs.arn': unsupported string format
Description
I want to use the dlqArn of a construct to send the errors to another lambda function.
When i try to use it in functions.events.sqs I get this error message when I try to deploy
Configuration error at 'functions.handleError.events.0.sqs': must match pattern "^arn:"
When I try to use this placeholder in a ENVIRONMENT of the lambda function, like in the queue.md example, it works fine.
Maybe the preprocessor can't handle this placeholder?
How to Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: