serverless / serverless/serverless

Config Plugins

Open
#5,679 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

cat/plugin enhancement needs feedback
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.