1.2.7 • Published 6 years ago

hubot-aws-bot v1.2.7

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

#Hubot AWS Bot A hubot script to query aws for instance information

###Dependencies

  • coffee-script
  • cron
  • aws-sdk
  • underscore
  • moment

###Configuration

  • HUBOT_AWS_REQUIRED_TAGS - A comma seperated list of required tag names to scan for
  • HUBOT_AWS_REGION - The AWS region eg. "us-east-1"
  • AWS_SECRET_ACCESS_KEY - AWS Secret Key
  • AWS_ACCESS_KEY_ID - AWS Acesss Key

###Commands

  • hubot aws untagged [running for <duration>] - List the instances that are not tagged with a role optional minimum runtime (HH:MM)
  • hubot aws untagged [running for <duration>] at <crontime> - Schedule a recurring job for untagged instances at interval optional minimum runtime (HH:MM)
  • hubot aws query <query> [running for <duration>] - Search aws instances where instance tag Name contains optionally for those that have been running for at least
  • hubot aws query <query> [running for <duration>] at <crontime> - Schedule a recurring job for search for with optional at interval
  • hubot aws jobs - List all the running jobs
  • hubot aws remove job <number> - Removes the given job number

###Cron Ranges Internally this uses node-cron

When specifying your cron values you'll need to make sure that your values fall within the ranges. For instance, some cron's use a 0-7 range for the day of week where both 0 and 7 represent Sunday. We do not.

  • Seconds: 0-59
  • Minutes: 0-59
  • Hours: 0-23
  • Day of Month: 1-31
  • Months: 0-11
  • Day of Week: 0-6
1.2.7

6 years ago

1.2.6

6 years ago

1.2.4

6 years ago

1.2.3

8 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago