Skip to content

Instantly share code, notes, and snippets.

View HyperBrain's full-sized avatar

Frank Schmid HyperBrain

View GitHub Profile
@HyperBrain
HyperBrain / package-plugin-lifecycle.md
Last active April 14, 2026 07:47
Serverless - Package/Deploy plugin lifecycle changes

Overview

Currently the Serverless framework only offers lifecycle events that are bound to commands and also are very coarse. Each core plugin only exposes the events that are defined by the framework. This is suboptimal for plugin authors as they want to hook special events within the deployment process.

The PR adds fine grained lifecycles to the AWS deployment process (see below for the current implementation process) and makes the package/deploy plugin implementation non-breaking.