aws.account
Supported platform
- aws
Description
AWS Account
The aws.account
resource provides configuration for AWS accounts, including the account number and configured aliases.
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
id | string | Account ID |
aliases | []string | Account aliases |
organization | aws.organization | Information about the associated organization, if any |
tags | map[string]string | Tags on the account, Note: This operation can only be called from the organization's management, account or by a member account that is a delegated administrator for an, Amazon Web Services service. |
Examples
Return the account ID (number) and any configured account aliases
aws.account {
id
aliases
}