How to do it...

  1. Run the CLI tool command to create a new account, with appropriate values:
        aws organizations create-account \          --email <member-account-owners@email.com> \          --account-name <member-account-name> \           --query 'CreateAccountStatus.Id'
  1. This command will return a create account status request ID value that you can use to check the status:
        aws organizations describe-create-account-status \           --create-account-request-id <your-create-account-status-id>

Get AWS Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.