gulp-aws-eb-environment
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "gulp-aws-eb-environment", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Plugin to change the environment variables on Elastic Beanstalk (AWS)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
[![Build Status](https://travis-ci.org/cauealves/gulp-aws-eb-environment.svg?branch=master)](https://travis-ci.org/cauealves/gulp-aws-eb-environment) | ||
# gulp-aws-eb-environment [![Build Status](https://travis-ci.org/cauealves/gulp-aws-eb-environment.svg?branch=master)](https://travis-ci.org/cauealves/gulp-aws-eb-environment) | ||
@@ -6,2 +6,47 @@ | ||
> The idea is that we may be able to manipulate the environment variables of `EB`. I believe this plugin can help in some workflows and pipelines of continuous integration. | ||
> 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 | ||
```js | ||
'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 | ||
* Made of dawn with :coffee: | ||
* By [Cauê Alves](https://github.com/cauealves) | ||
* [MIT](./LICENSE) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6573
52