Hi
I have the following in my serverless yml file :
lambdaQueueFirstInvokePermission:
Type: AWS::Lambda::Permission
Properties:
FunctionName: ServiceLambdaFunctionQualifiedArn
Action: ‘lambda:InvokeFunction’
Principal: sqs.amazonaws.com
and i have the following in the Outputs section :
Outputs:
ServiceLambdaFunctionQualifiedArn:
Value:
‘Fn::GetAtt’: [ lambdaQueueFirst, Arn ]
this comes back with a message : Template error: instance of Fn::GetAtt references undefined resource lambdaQueueFirst
Am i missing something and if so, what ? since there is very little in terms of help or examples…
Also, is there a better of getting the lambda arn into the permissions code ? if so, what is it ?