Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 781 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 781 Bytes

check-stacks

A simple little script that will iterate all accounts and find stacks, creating a CSV report.

Entirely meaningless outside GOV.UK One Login.

To use:

  • pip3 install boto3
  • run ./main.py
  • you'll be prompted to log in and authorize the application in AWS Identity Center
  • a few minutes later, stacks.csv will appear, with all that juicy data goodness

Enjoy, I guess?

Environment Variables

ROLE_FILTER (default: readonly)

  • allows basic pattern matching (if role_filter in role_name) to that you can set the role name to use, or roles containing support or readonly

BEFORE_VERSION (default: 'None'')

  • returns versions older than this version if set

AFTER_VERSION (default: 'None'')

  • returns versions newer than this version if set