Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

aws-locate

0.0.3 • Public • Published

aws-locate

Locate the region and/or availability zone for a node process running on EC2

 
// to get the availability zone:
require('aws-locate').getAvailabilityZone(function (err, zone) {
  console.log(zone)
})
 
// to get the region
require ('aws-locate').getRegion(function (err, region) {
  console.log(region)
})
 

Keywords

none

install

npm i aws-locate

Downloadsweekly downloads

6

version

0.0.3

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar