
Security News
Meet the Socket Team at RSAC and BSidesSF 2025
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
serverless-parameters
Advanced tools
Serverless Parameters --------------------- This plugin adds the possibility to add [CloudFormation parameters](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html) to your Serverless applications. This is conve
This plugin adds the possibility to add CloudFormation parameters to your Serverless applications. This is convenient if you want to just generate a CloudFormation template, and use it as a subtemplate for some other stack, or when you are deploying somethign manually or via a cloudformation deploy button.
Install the plugin through npm: npm install serverless-parameters
. Add it your Serverless plugin list:
plugins:
- serverless-parameters
After installation, you can now add parameters
to the custom
key:
custom:
parameters:
EnableFeatureX:
Type: String
AllowedValues: yes,no
Default: yes
Description: Enable feature X
VPCId:
Type: AWS::EC2::VPC::Id
Description: Select the VPC you want to use
SomeEnvVarPrefilled:
Type: String
Default: ${env:MY_ENV_VAR}
Description: A default parameter, filled with a value from your env when deployed with `sls deploy`
All the properties are added to the template as-is, so you can use any of the CloudFormation parameter properties.
You can then add Ref's on the places where you want to use them, eg in your environment settings:
provider:
name: aws
environment:
FEATURE_X:
Ref: EnableFeatureX
some_env_var:
Ref: SomeEnvVarPrefilled
Add option for adding AWS::CloudFormation::Interface
descriptions and such. PR's are welcome!
FAQs
Serverless Parameters --------------------- This plugin adds the possibility to add [CloudFormation parameters](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html) to your Serverless applications. This is conve
The npm package serverless-parameters receives a total of 284 weekly downloads. As such, serverless-parameters popularity was classified as not popular.
We found that serverless-parameters demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.