Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

gulp-cloudformation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-cloudformation

Gulp plugin for AWS cloudformation

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

gulp-cloudformation

Simple gulp plugin for deploying stack files to AWS cloudformation

This module will WAIT until the deployment is entirely finished before completing the task. Useful if you want to ensure the deployment is complete before running other gulp tasks.

Build Status

npm version
Code Climate
Build Status
NPM

Quick Examples

gulpfile.js

var gulp            = require('gulp')
var cloudformation  = require('gulp-cloudformation')

gulp.task('stack', () => {
  return gulp.src(['location/to/[name-of-stack-file].json'])
    .pipe(cloudformation.init({   //Only validates the stack files
      region: 'us-east-1',
      accessKeyId: 'YOUR AWS ACCESS KEY ID',
      secretAccessKey: 'YOUR AWS SECRET ACCESS KEY'
    })
    .pipe(cloudformation.deploy({ //deploy stack files
      Capabilities: [ 'CAPABILITY_IAM' ] //needed if deploying IAM Roles
      StackName: 'SomeStack' // Optional: defaults to the name of the stack file
    }))
    .on('error', (error) => {
      util.log('Stream Exiting With Error', error)
      throw error
    })
})

Download Source

The source is available for download from GitHub

Install

For node js, you can install using Node Package Manager npm

npm install gulp-cloudformation

Usage

In node js:

var cloudformation = require('gulp-cloudformation')

Keywords

gulp

FAQs

Package last updated on 27 Oct 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