aws:list_accounts_in_org
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
aws:list_accounts_in_org [23/06/2025 16:12] – andrew | aws:list_accounts_in_org [23/06/2025 16:14] (current) – andrew | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
list_accounts_in_organisations.sh | list_accounts_in_organisations.sh | ||
Line 12: | Line 11: | ||
aws organizations list-accounts --query ' | aws organizations list-accounts --query ' | ||
+ | |||
+ | # Using jq to parse the JSON | ||
+ | aws organizations list-accounts | jq -r ' | ||
</ | </ | ||
aws/list_accounts_in_org.1750695150.txt.gz · Last modified: by andrew