# gulp-aws-eb-environment

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

Latest version **1.0.5** (published 2016-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-aws-eb-environment
pnpm add gulp-aws-eb-environment
yarn add gulp-aws-eb-environment
bun add gulp-aws-eb-environment
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-01-23 |
| First published | 2016-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Cauê Alves |
| Maintainers | cauealves |
| Keywords | gulp-aws-eb, eb, aws, beanstalk, variables, environment |

## Links

- npm: https://www.npmjs.com/package/gulp-aws-eb-environment
- Repository: https://github.com/cauealves/gulp-aws-eb-environment
- Homepage: https://github.com/cauealves/gulp-aws-eb-environment/
- Issues: https://github.com/cauealves/gulp-aws-eb-environment/issues
- npm.io page: https://npm.io/package/gulp-aws-eb-environment

## Dependencies (3)

- [q](https://npm.io/package/q.md) ^1.4.1
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.2.31
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-01-23
- 1.0.4 — 2016-01-21
- 1.0.3 — 2016-01-21
- 1.0.2 — 2016-01-21
- 1.0.1 — 2016-01-21
- 1.0.0 — 2016-01-21

## README

# 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)


## Environment variables on <a href="https://aws.amazon.com/documentation/elastic-beanstalk/" target="_blank">Elastic Beanstalk</a>

> 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)

---
_Source: https://npm.io/package/gulp-aws-eb-environment · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
