Skip to content

Instantly share code, notes, and snippets.

@tphummel
Created May 2, 2013 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tphummel/5502829 to your computer and use it in GitHub Desktop.
Save tphummel/5502829 to your computer and use it in GitHub Desktop.
using aws-lib to query the aws api
creds = require "./creds"
aws = require "aws-lib"
ec2 = aws.createEC2Client creds.key, creds.secret
ec2.call "DescribeVolumes", {}, (err, results) ->
console.error "err: ", err if err?
console.log "results: ", results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment