1.0.5 • Published 8 years ago

gulp-aws-eb-environment v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago