@bjacobel/cloudformer-node
A port of the Ruby AWS CloudFormation tooling https://github.com/kunday/cloudformer
Last updated 6 months ago by bjacobel .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @bjacobel/cloudformer-node 
SYNC missed versions from official npm registry.

cloudformer-node

A port of the Ruby AWS CloudFormation tooling https://github.com/kunday/cloudformer

Cloudformer attempts to simplify AWS Cloudformation stack creation process in NodeJS projects by providing reusable operations such as apply(create/update), delete, recreate on stack along with validations on templates. Task executions which enforce a stack change will wait until ROLLBACK/COMPLETE or DELETE is signalled on the stack (useful in continuous deployment environments to wait until deployment is successful).

Installation:

$ npm install cloudformer-node -g

AWS Environment configuration

Cloudformer depends on the aws-sdk module to query AWS API. You will need to export AWS configuration to environment variables to your .bashrc/.bash_profile or your build server:

export AWS_ACCESS_KEY=your access key
export AWS_DEFAULT_REGION=ap-southeast-2
export AWS_SECRET_ACCESS_KEY=your secret access key

JS Usage:

var stack = new Stack('tooling-test');
stack.apply('./samples/basic_template.json', {
  Parameters: { AmiId: 'ami-fd9cecc7' },
  DisableRollback: false,
  Capabilities: [],
  NotificationARNs: [],
  Tags: { Name: 'mystack' }
}, console.log);

stack.outputs(console.log);

stack.delete(console.log);

CLI Usage:

  stack-apply -h
  stack-outputs -h
  stack-delete -h

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Current Tags

  • 0.0.14                                ...           latest (6 months ago)

2 Versions

  • 0.0.14                                ...           6 months ago
  • 0.0.13                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |