Closed nelsonic closed 8 years ago
Hi @s-voloshynenko the test has an invokedFunctionArn: 'arn:123:abs:prod' see: https://github.com/tcdl/aws-lambda-helper/blob/869eeb2d42c4d09179a6f2da4b739c3fae49d8c8/test/lib/index.js#L50
invokedFunctionArn: 'arn:123:abs:prod'
I searched through the list of ARNs but was not able to find if an ARN with 4 segments is valid ... http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda
If not, we may need to update the test context...
Hi @nelsonic. It was assumed that helper will parse the last segment word. Here was not paid attention for segments amount. For the next version update we will fix it.
Sounds good. :+1:
Hi @s-voloshynenko the test has an
invokedFunctionArn: 'arn:123:abs:prod'
see: https://github.com/tcdl/aws-lambda-helper/blob/869eeb2d42c4d09179a6f2da4b739c3fae49d8c8/test/lib/index.js#L50I searched through the list of ARNs but was not able to find if an ARN with 4 segments is valid ... http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda
If not, we may need to update the test context...