=======
A CLI Tool to automate standard tasks within an Amazon Web Services Organization or Account.
- Python 3.6+
- Access to the AWS Organization's root account via AWS Access Keys
Run the following: pip3 install git+https://github.com/hunttom/groundhogs_day@main
to install
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
Run the following for help: --help
at any level to see help:
Examples: ghd --help
or ghd list --help
Run the following: ghd
and the actions you want to perform:
ghd currently supports:
-
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
-
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>