aws:list_accounts_in_org
This is an old revision of the document!
list_accounts_in_organisations.sh
#!/bin/bash # Lists just the accounts in an organiation, # suitable for redirecting to a file to iterate over # for processing something in all accounts. # This gives a text output, the default is json, --output table is also valid. aws organizations list-accounts --query 'Accounts[*].[Id]' --output text
aws/list_accounts_in_org.1750695150.txt.gz · Last modified: by andrew