{"_id":"update-amis","_rev":"33-eaa80fe8dc333113b95a850e668c471e","name":"update-amis","description":"Find up-to-date AMIs for Ubuntu","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"update-amis","version":"0.0.1","description":"Find up-to-date AMIs for Ubuntu","bin":{"update-amis":"bin/update-amis.js"},"main":"index.js","author":{"name":"Mapbox"},"license":"ISC","dependencies":{"aws-sdk":"^2.0.18","queue-async":"^1.0.7","through2":"^0.6.2","underscore":"^1.7.0"},"_id":"update-amis@0.0.1","_shasum":"f37c0f2ec007a4350e6975bf2cd433256dc0c9cb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"mapbox","email":"accounts@mapbox.com"},"maintainers":[{"name":"mapbox","email":"accounts@mapbox.com"}],"dist":{"shasum":"f37c0f2ec007a4350e6975bf2cd433256dc0c9cb","tarball":"https://registry.npmjs.org/update-amis/-/update-amis-0.0.1.tgz","integrity":"sha512-kO/7fy+eIstMSVNhzv8nUGvtI5R+Oy1w5lt3C+pNQ0W+VE6yUruXlbxB26q2fKVfP4y6fYikkGIvabK6x//AEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQMC/AnDpzWcyaZb25/rHgjfkraM6pMr9DuDxt8M1+NAiAGxOP+ghWRxV9HQSAf1i2UDjytsAbVC932fTZEpaMKPQ=="}]}},"0.0.2":{"name":"update-amis","version":"0.0.2","description":"Find up-to-date AMIs for Ubuntu","bin":{"update-amis":"bin/update-amis.js"},"main":"index.js","author":{"name":"Mapbox"},"license":"ISC","dependencies":{"aws-sdk":"^2.0.18","queue-async":"^1.0.7","through2":"^0.6.2","underscore":"^1.7.0"},"gitHead":"66ce1fa55c90e5c8efb69a857e6a141312e44a13","_id":"update-amis@0.0.2","scripts":{},"_shasum":"64f67e5a52077e100f3b008398509cfc15205256","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"miccolis","email":"jeff@miccolis.net"},"maintainers":[{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"64f67e5a52077e100f3b008398509cfc15205256","tarball":"https://registry.npmjs.org/update-amis/-/update-amis-0.0.2.tgz","integrity":"sha512-MZgzcWHj7rKn4wuOpfq0h6DHvCgexUEwgUXH1DXdU95ds+lRCtOqDBCZVMtnC+DRQn6XAIRafKEbZtm7xDvNbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHxFJL5rC/ZSEz62AetHqD1W/GZQ+nZJzSxfcXgJPmsAIgM5kVM+8aAP6zGy8JS7DaR08xgAmEu7jMEv6zXJQaw/4="}]}}},"readme":"# update-amis\n\nGive a string or file with some ubuntu EC2 image ids in it, replace them with the most\nup-to-date image ids that share the same attributes (architecture, virtualization type, etc.)\n\n## Setup\n```sh\n$ npm install -g update-amis\n```\n\nMake sure that your environment is configured with appropriate AWS credentials.\nSee http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html for\ndetails.\n\n## Usage\nFrom the command-line:\n```sh\n# Prints to stdout\n$ cat path/to/some-template.template | update-amis\n\n# Updates named file\n$ update-amis path/to/some-template.template\n\n# Just prints an up-to-date ami\n$ update-amis ami-b6cca686\n```\n\nOr in javascript:\n```javascript\nvar finder = require('update-amis');\n\n// Get details about a particular AMI\nfinder.getInfo('ami-b6cca686', function(err, info) {});\n\n// Find the most up-to-date AMI\nfinder.findUpdatedAmi('ami-b6cca686', function(err, newami) {});\n```\n\n## Caveats\n- Only for Ubuntu AMI's that you could find here: http://cloud-images.ubuntu.com/locator/ec2/\n- Finds a matching AMI based on:\n    - architecture\n    - owner\n    - root-device type\n    - virtualization type\n    - name: Ubuntu names their amis predictably, so that you can match versions and sort by date. Example: `ubuntu/images/ubuntu-trusty-14.04-amd64-server-20140927`\n","maintainers":[],"time":{"modified":"2022-06-28T05:34:36.437Z","created":"2014-10-03T19:30:53.010Z","0.0.1":"2014-10-03T19:30:53.010Z","0.0.2":"2015-04-20T19:04:44.140Z"},"author":{"name":"Mapbox"},"license":"ISC","readmeFilename":"readme.md"}