This package has been deprecated

Author message:

code is no longer maintained

elephantdump

0.0.5 • Public • Published

elephantdump


Modules for extracting configuration data from AWS and displaying them

Install as node module

npm install elephantdump

Install as command line tools

% sudo npm install elephantshop -g

Prerequisites:

  • node installed
  • AWS credentials configured

Sample

Have a look at test.js for the complete code sample

var dump = require('elephantdump');
dump.describeEc2AllRegions()
    .on('progress', function (percent, duration, operation, inregion) {
        console.log(inregion, operation);
    })
    .on('complete', function (ec2data, errors) {
        // aggregates extracted JSON for all regions and transforms to a single CSV
        var csvall = dump.transformCsv( dump.aggregateRegions( ec2data ));
    });

Usage as command line tools

% extractEc2 > Ecdata.json
% transformEc2 < Ec2data.json > Ec2data.csv
% extractEc2 | transformEc2 > Ec2data.csv

Readme

Keywords

Package Sidebar

Install

npm i elephantdump

Weekly Downloads

4

Version

0.0.5

License

MIT

Last publish

Collaborators

  • ekkards