I’d like to be able to export the qualified arn of lambda functions that I have defined in the serverless.yml file. In other words, the lambda arn plus the function version.
This is so that I can reference it as a cross-script reference in separate CloudFormation files.
I am able to export the unqualified arn using the name of my function plus ‘LambdaFunction’ as shown below:
MyFunctionUnqualifiedArn: Value: 'Fn::GetAtt': [ MyFunctionLambdaFunction, Arn ] Export: Name: 'my-function-arn'
But I’d really like to include the function version, if possible.