chris-feist / serverless-plugin-composed-vars Goto Github PK
View Code? Open in Web Editor NEWA Serverless plugin that composes custom and environment variables based on the deployment stage
License: MIT License
A Serverless plugin that composes custom and environment variables based on the deployment stage
License: MIT License
So for a migration of aws accounts it would be really handy to be able to use opt variables in the file name, but they don't get substituted at the moment.
when i pass in
${file(./params/${opt:account}/params.yml)}
with account x
it does not seem to read file ./params/x/params.yml
and ./params/x/params.dev.yml
Could this functionality be added
Add a warning when we encounter a variable defined in the stage specific file, that isn't defined in the default variables
When using npm instead of yarn, the module fails to install. I like the enforcement of yarn, but also like the library and in my current project cannot switch.
Pipeline went down recently because there was a critical update to mixin-deep dependency (now on 2.0.1, due to a prototype pollution bug).
I can make a quick PR, or if you'd prefer to update it yourself, that'd be great! All that needs to be done is update mixin-deep to 2.0.1.
There were apparently breaking changes in the way Serverless loads environment variables recently and this plugin no longer properly resolves the values expected for the stage.
See a similar thread here from serverless-dotenv plugin:
https://www.npmjs.com/package/serverless-dotenv-plugin
serverless>=3.0.0 introduces changes that significantly impacts this plugin. See the discussion thread or the FAQ below for details on the impact of how env vars are loaded with serverless>=2.26.0 and serverless>=3.0.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.