Skip to content

Instantly share code, notes, and snippets.

View Smakar20's full-sized avatar

Sohini Makar Smakar20

  • Rally Health Inc
  • San Francisco
View GitHub Profile
@ksrawat
ksrawat / getawsconfig.js
Last active September 29, 2017 18:39
This is a small node utilty to get aws metadata for e.g. get IAM secruity groups, AWS lambda roles and all the policies.
/*
This will save all the metadata in respective directories:
1. roles-config
2. attached-role-policies
3. securitygroups
* Make sure you have admin role which has full access like we are using list and describe API of node-aws-sdk
* All data is stored in json file
*/