You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
For some very simple lambda functions, such as CustomResources, it would be very useful to be able to define our function code in line. This way I can reduce footprint of infrastructure from 2 files (serverless.yml and function code file) to 1 file (serverless.yml with function code defined inline).
@Lokesh-Jawale let's leave it to plugin authors. It looks as invasive feature for which demand is very low, so I don't think it should land as part of a core.
Only issues with help wanted or good first issue tag are open for implementation (or spec discussion, see details in issue)
Feature Proposal
Description
For some very simple lambda functions, such as CustomResources, it would be very useful to be able to define our function code in line. This way I can reduce footprint of infrastructure from 2 files (serverless.yml and function code file) to 1 file (serverless.yml with function code defined inline).
Here is an example of a similar enhancement defined in SAM for the same use case.
Here is an example of the usage.
The text was updated successfully, but these errors were encountered: