serverless / serverless-azure-functions

Serverless Azure Functions Plugin – Add Azure Functions support to the Serverless Framework
MIT License
266 stars 161 forks source link

Provide a way to reference the resources created via ARM template in serverless.yml #531

Open HobbyProjects opened 3 years ago

HobbyProjects commented 3 years ago

This is a Feature Proposal

Description

The armTemplate field is a great way to provide extra resources that one will need. However, one needs a way to reference those resources that were created using the ARM template. For example, if my azure function needs a service bus queue to post messages to, I'd need to get the connection str of that service bus and set as an application setting in my function.

ARM templates allow you to output params. It would be very useful to provide a way to reference those outputs inside my serverless.yml so that the application settings of the functions could be updated.

Similar or dependent issues:

None that I could find.

quarryman commented 3 years ago

I would support proposal this too, its widely used approach