Function property parseCsv.deadLetter.targetArn object is missing GetResourceArn property.
Another approach I tried:
Make an export from service A:
Outputs:
LambdaFailureQueue:
Description: The dead letter queue for AWS Lambda handlers.
Value:
Fn::GetAtt: ["LambdaFailureQueue", "Arn"]
Export:
Name: "${self:custom.eubfrEnvironment}:${self:service}:LambdaFailureQueue"
My goal is to find a way to get rid of the specific account number, as a wildcard also results in:
Function property parseCsv.deadLetter.targetArn = 'arn:aws:sqs:eu-central-1:*:chernka204-ingestion-dead-letter-queue'. This is not a valid sns or sqs arn.
Relates to #32
In service A, I got the resource created successfully on deployment:
and a handler in the same
serverless.yml
file successfully gets triggered bySo far, so good. Then, in service B, I'm trying to attach fallback behavior to this previously created dead letter queue.
These don't work:
Results in:
Results in
The only syntax, which works is the following:
I've tried using serverless-pseudo-parameters in order to have the following syntax:
However, this results in
Another approach I tried:
Make an export from service A:
And then try an import in service B:
-> not working
trying also
-> again error
My goal is to find a way to get rid of the specific account number, as a wildcard also results in: