hubot-aws-insight
Version:
A hubot scripts that shows you what's running on aws. Needs Python 3
69 lines (49 loc) • 2.08 kB
Markdown
# hubot-aws-insight
A hubot scripts that shows you what's running on aws. Needs Python 3.
This project uses [skew](https://github.com/scopely-devops/skew)*
You need to configure a
[`~/.skew`](https://github.com/scopely-devops/skew/#skew) file for it to
work properly. Also make sure the profiles defined in `.skew` file exist
in `~/.aws/credentials`.
Since skew uses boto3, if used within an aws instance it can use the
instance metadata to get the credentials automatically but it still
needs the profile defined in your credentials file, so you can do this
to have `default` profile:
echo '[default]' > ~/.aws/credentials
## Installation
In hubot project repo, run:
`npm install hubot-aws-insight --save`
Then add **hubot-aws-insight** to your `external-scripts.json`:
```json
[
"hubot-aws-insight"
]
```
## Sample Interaction
```
user1>> aws summary
hubot>>
In us-east-1:
For service rds:
There's 1 secgrp(s)
```
## NPM Module
https://www.npmjs.com/package/hubot-aws-insight
## License
The MIT License (MIT)
Copyright (c) 2017 Olindata BV
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.