Closed alexhall closed 4 years ago
Take a look on AWS::Serverless::Application
Take a look on AWS::Serverless::Application
Ahh, thank you. I don't know how I missed that the first time around.
Is there a way of getting at the ARN of the lambda function associated with the AWS::Serverless::Application
resource, so that we can reference it when creating additional resources in the SAM template?
The underlying Stack didn't defines a output, so I think it's not possible. But you can simply copy the function code and put it into your own stack or nested stack. You can find the source code here.
Thank you @timoschilling for answering this! Yes, you can use an AWS::Serverless::Application
to consume applications directly from the Serverless Application Repository.
I would like to be able to deploy a third-party lambda function published to AWS Serverless Repo as part of a SAM template, e.g. to configure my application to use the Datadog Log Forwarder.
I've found documentation on publishing applications to Serverless Repo using SAM (https://docs.aws.amazon.com/serverlessrepo/latest/devguide/using-aws-sam.html) but consuming Serverless Repo applications with SAM doesn't appear to be supported. Is it possible to add support for this use-case?