This data source provides information about the current account.
data "alicloud_account" "current" {
}
output "current_account_id" {
value = "${data.alicloud_account.current.id}"
}
The following attributes are exported:
id
- Account ID (e.g. "1239306421830812"). It can be used to construct an ARN.