Seed supports most of the common Serverless Framework plugins out of the box. The exception, would be plugins that are not related to the build or deployment process of the app. If you are having problems getting a specific plugin to work, feel free to contact us.
Below is a list of plugins that need some configuration to work with Seed.
The serverless-domain-manager is an alternative to configuring custom domains with Seed. The major difference is that Seed will automatically create the SSL certificates necessary for your custom domain.
However, if you are already using the serverless-domain-manager plugin, you need to configure it using the following options:
Set it up locally
serverless create_domain --stage STAGE_NAMEcommand locally where
STAGE_NAMEis the name of the stage that needs to be configured.
Or configure it using the
Add the following to your Seed build spec. Or if you don’t have a build spec, create a
seed.ymlfile in your project root with the following:
before_build: - serverless create_domain --stage $SEED_STAGE_NAME
$SEED_STAGE_NAMEis an environment variable that is set automatically as a part of the build process.
Note that this build hook will be run in your project root. So if you want to run it for a specific service you’ll need something like this:
before_build: - cd my-service/ && serverless create_domain --stage $SEED_STAGE_NAME
my-service/is the path to the service with the custom domain configured.
If you have any questions or feedback feel free to contact us via email.