Skip to content

josmo/cfn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfn - Simple Cloud Formation for Node.js

CircleCI bitHound Overall Score

Install

$ npm install cfn --save-dev

Usage

Use cfn to create or update a Cloud Formation stack. It returns a promise. You can use Node.js modules or standard json for Cloud Formation Templates.

var cfn = require('cfn');


// Create or update (if it exists) the Foo-Bar stack with the template.js Node.js module.
cfn('Foo-Bar', __dirname + '/template.js')
    .then(function() {
        console.log('done');
    });
    
// Create or update the Foo-Bar stack with the template.json json template.
cfn('Foo-Bar', 'template.json');

// Delete the Foo-Bar stack
cfn.delete('Foo-Bar');

About

Simple Cloud Formation for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published