
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Lola is an opiniated cli tool to orchestrate AWS Cloudformation templates.
$ [sudo] npm install lola -g
Lola expects a config file (lola.yml) which holds information about the AWS Cloudformation stacks you wish to control.
# The name of your project. This is required and will be used in
# stack names, tags, etc.
project: <project-name>
# List of key-value tags that should be added to each stack. When set on this or a lower level,
# it wil override the default tags of project, environment and region.
tags:
<name-of-tag>: <value-of-tag>
<name-of-another-tag>: <value-of-another-tag>
# Stacks is a description of the different cloudformation stacks you'll want to
# manage and the specific order in which they'll need to be managed.
stacks:
# Give that stack a name.
<stack1>:
template: <location of the template.yml file for this stack>
description: <optionally describe this stack>
actions:
preDeploy: preDeployScript.js
environments:
# This is reserved, you can set global stuff for each stack in each env. Optional.
default:
<stack1>:
# This will override ANY region/profile for stack1 in ANY env below
region: <aws region>
profile: <~/.aws/credentails profile name>
tags:
<name-of-tag>: <value-of-tag>
<name-of-another-tag>: <value-of-another-tag>
# Give that environment a name.
<dev>:
# Environment params for <stack1>
<stack1>:
# Override the stackname for this env. Optional, if not present lola generates one.
name: <my-stack-dev>
region: <aws region>
profile: <~/.aws/credentails profile name>
tags:
<name-of-tag>: <value-of-tag>
<name-of-another-tag>: <value-of-another-tag>
terminationProtection: <true|false>
params:
<Param1>: <Value1>
hooks:
pre-deploy:
- preDeploy
$ lola --help
Usage: lola [options] [command]
Do AWS Stuff
Options:
-V, --version output the version number
-c, --config-file <configFile> Optional config file
-o, --options-file <optionsFile> Optional deploy options file
-v, --verbose Verbose output
-s, --options-stack <optionsStack> Stack
-e, --options-environment <optionsEnvironment> Environment
-h, --help display help for command
Commands:
validate|v Validates a stack
status|s Get the status of a stack
deploy|d Deploys a stack
delete|x Deletes a stack
action|a Runs an action on a stack/env
protection|p Toggles termination protection on a stack/env
changeSet|c Create and view changeset of a stack/env
help [command] display help for command
When running a lola command (validate, status, ..) without arguments, lola will ask about two things: the stack and the environment. These can also be provided through an input file (-o flag) or other input flags.
Each stack can define actions. Each action can be run on it's own or can be attached to one of the deploy hooks.
/**
*
* @param Object config
* The full config object file
* @param String stackName
* The stackName currently running
* @param String env
* The env for which the current stack is running.
*/
function runAction(config, stackName, env) {
console.log(config);
throw new Error('Error');
}
module.exports.runAction = runAction;
[1.0.3] - 2021-05-12
FAQs
AWS related deployment helper...
The npm package lola receives a total of 2 weekly downloads. As such, lola popularity was classified as not popular.
We found that lola demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.