serverless-plugin-env-stage-config
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "serverless-plugin-env-stage-config", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": "Bertrand Marron <bertrand.marron@gmail.com>", | ||
@@ -29,3 +29,3 @@ "description": "Serverless plugin to define environment variables files for stages", | ||
"semantic-release": "^19.0.2", | ||
"xo": "^0.47.0" | ||
"xo": "^0.50.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "xo": { |
# serverless-plugin-env-stage-config | ||
[![npm version](https://badgen.net/npm/v/serverless-plugin-env-stage-config)](https://www.npmjs.com/package/serverless-plugin-env-stage-config) | ||
[![XO code style](https://badgen.net/badge/code%20style/XO/cyan)](https://github.com/xojs/xo) | ||
This [Serverless](http://www.serverless.com/) plugin allows to define environment variable configuration files for stages. | ||
@@ -7,2 +10,7 @@ It exposes a new variable resolver (`$esc`) that automatically picks the correct value based on the selected stage. | ||
## CI | ||
[![Tests](https://github.com/bizon/serverless-plugin-env-stage-config/actions/workflows/tests.yml/badge.svg)](https://github.com/bizon/serverless-plugin-env-stage-config/actions/workflows/tests.yml) | ||
[![Release](https://github.com/bizon/serverless-plugin-env-stage-config/actions/workflows/release.yml/badge.svg)](https://github.com/bizon/serverless-plugin-env-stage-config/actions/workflows/release.yml) | ||
## Installation | ||
@@ -56,6 +64,6 @@ | ||
The support local stages are: | ||
- local | ||
- dev | ||
- development | ||
The supported local stages are: | ||
- `local` | ||
- `dev` | ||
- `development` | ||
@@ -69,5 +77,5 @@ ## Other stages | ||
```yaml | ||
MYSQL_HOST: ${ssm:/my-service/prod/MYSQL_HOST~true} | ||
MYSQL_HOST: ${ssm:/my-service/prod/MYSQL_HOST} | ||
QUEUE_URL: !Ref MyQueue | ||
SECRET_TOKEN: ${ssm:/my-service/prod/SECRET_TOKEN~true} | ||
SECRET_TOKEN: ${ssm:/my-service/prod/SECRET_TOKEN} | ||
``` | ||
@@ -74,0 +82,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6589
102