Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@agiledigital/serverless-parameter-subscriber
Advanced tools
serverless plugin to make allow Lambdas to included dynamically updated parameters from the paramter store.
This is a serverless plugin that enables you to subscribe environment variables in Lambdas to Systems Manager Parameter Store values. This enables you to share configuration values that are used across multiple Lambdas in the Parameter store and access them as environment variables. Need to update the parameter value? Simply update the value once in the Parameter Store and within seconds, all subscribing Lambdas will be using the updated value without the extra overhead of calling out the the parameter store for every request.
Run npm install
in your Serverless project.
$ npm install --save-dev @agiledigital/serverless-parameter-subscriber
Add the plugin to your serverless.yml file
plugins:
- '@agiledigital/serverless-parameter-subscriber'
The following is an example serverless.yml
file demonstrating this plugin's
usage. You can try the example included in the repository.
service: params
provider:
name: aws
runtime: nodejs10.x
region: ap-southeast-2
stage: ${opt:stage, 'dev'}
functions:
one:
handler: handler.one
# the following `parameters` value is where the magic happens.
# ENV_VAR_ONE is the name of the environment variable in the function
# ParamValue will be the name of the parameter in the Parameter Store.
parameters:
ENV_VAR_ONE: ParamValue
two:
handler: handler.two
parameters:
# this parameter will be defined outside of this service.
ENV_VAR_TWO: ExternalParamValue
resources:
Resources:
# We create the parameter that the funtions subscribe to here, but the
# parameter can be created any way you like including in another service.
ParamValue:
Type: AWS::SSM::Parameter
Properties:
Description: Dynamic parameter
Name: ParamValue
Type: String
Value: hello, dave
plugins:
- '@agiledigital/serverless-parameter-subscriber'
FAQs
serverless plugin to make allow Lambdas to included dynamically updated parameters from the paramter store.
The npm package @agiledigital/serverless-parameter-subscriber receives a total of 11 weekly downloads. As such, @agiledigital/serverless-parameter-subscriber popularity was classified as not popular.
We found that @agiledigital/serverless-parameter-subscriber demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.