serverless / serverless/serverless
Config Plugins
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.9k
- Forks
- 5.7k
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 57
Description
This is a Feature Proposal
Description
- What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
I wrote the serverless-plugin-parent plugin to try and pull common configuration into a central place, with the intention of reducing the amount of configuration needed in large multi-service projects. I basically merged the parent serverless.yml with services serverless.yml in the Plugin's constructor. Unfortunately this does come in a bit late during the initialisation process, and is rather unreliable. Would it be possible to create a special kind Plugin, ie. Configuration Plugin. That could be loaded prior to the Core Plugins, without any hooks or commands, whose sole purpose is to edit the Service Model.
- If there is additional config how would it look
service: Service1
config-plugins:
- serverless-plugin-parent
Similar or dependent issues:
*
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The proposal names no repository files or tests; begin by tracing configuration loading and plugin initialization around the Service Model and Core Plugins, using serverless-plugin-parent as the behavioral example. Done would require an agreed config-plugins syntax and reliable Service Model changes before core plugins, with tests covering that lifecycle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100