GithubHelp home page GithubHelp logo

chris-feist / serverless-plugin-composed-vars Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 1.15 MB

A Serverless plugin that composes custom and environment variables based on the deployment stage

License: MIT License

JavaScript 100.00%

serverless-plugin-composed-vars's People

Contributors

chris-feist avatar icarus-sullivan avatar kraftman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

serverless-plugin-composed-vars's Issues

Values are no longer properly resolving based on input stage

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.

Mixin-Deep SNYK Prototype Pollution

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.

Failure to install when using npm

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.

susbtitution in file path not working

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.