# Description # OpsWorks deployment notify # # Configuration: # None # # Commands: # None # # Author: # Masashi Terui cron = require('cron').CronJob AWS = require('aws-sdk'); opsworks = new AWS.OpsWorks({region: 'us-east-1'}); channel = '#your-channel' module.exports = (robot) -> new cron '*/10 * * * * *', () => before = Math.floor(new Date().getTime() / 1000) - 10 opsworks.describeStacks {}, (err
