Skip to content

hunttom/groundhogs_day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=======

Groundhogs Day

A CLI Tool to automate standard tasks within an Amazon Web Services Organization or Account.


Requirements:

  • Python 3.6+
  • Access to the AWS Organization's root account via AWS Access Keys

Usage

To Install:

Run the following: pip3 install git+https://github.com/hunttom/groundhogs_day@main to install

To Configure:

Run the following: ghd configure to configure the default profile. Note: You can configure and use different profiles by running the following ghd --profile <PROFILE> configure

To read the Help:

Run the following for help: --help at any level to see help: Examples: ghd --help or ghd list --help

To Use:

Run the following: ghd and the actions you want to perform: ghd currently supports:

  1. Listing Organizational settings: a. Organizational Overview b. Accounts within the organization c. Delegated Administrators for the Accounts Note: ghd supports json, csv, and table displays and exporting to json or csv Example: ghd list accounts --output csv --export

  2. Setting AWS S3 Account Settings: a. You can target the entire organization (default) or individual accounts --target <ACCOUNTID>

Usage: ghd [OPTIONS] COMMAND [ARGS]...

  Main function for CLI

Options:
  -p, --profile TEXT  Enter profile to use
  --help              Show this message and exit.

Commands:
  configure  ghd [--profile ] configure
  list       ghd list [organization, accounts, org_admins] [--output <json|csv|table>]
  s3account  ghd s3account [--on --off] --target <accountid>
  vpcdelete  ghd vpcdelete --target <accountid>

About

AWS Scripts that I do, over, and over again

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published