Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-aws-eb-environment

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-aws-eb-environment

Plugin to change the environment variables on Elastic Beanstalk (AWS)

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

gulp-aws-eb-environment Build Status

Environment variables on Elastic Beanstalk

The idea is that we may be able to manipulate the environment variables on EB. I believe this plugin can help in some workflows and pipelines of continuous integration.

Installation

  • Install package via npm
npm install gulp-aws-eb-environment --save-dev

Usage


'use strict';

var ebEnvironment = require('gulp-aws-eb-environment');

gulp.task('aws:eb:setEnv', function() {
	var envs = ebEnvironment.create({
		region: process.env['AWS_REGION'],
		accessKeyId: process.env['AWS_ACCESS_KEY_ID'],
		secretAccessKey: process.env['AWS_SECRET_ACCESS_KEY']
	});
	
	return envs.setEnv({
		application: {
			name: 'eb-application-name'
		},
		// Find the environment by canonical name inside of `application.name`
		cname: 'eb-cname.elasticbeanstalk.com',

		// environment variable
		environment: {
			name: 'TEST',
			value: '123'
		}
	});
});

License

Keywords

FAQs

Package last updated on 23 Jan 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc