account_id: Get account ID of current user

account_idR Documentation

Get account ID of current user

Description

Get account ID of current user

Usage

account_id()

Details

If env var AWS_PROFILE == "localstack", return "000000000000"

Value

list with 3 elements:

  • UserId: the ID for the user

  • Account: account ID the user is in

  • Arn: arn for the user


sixtyfour documentation built on April 3, 2025, 8:22 p.m.