Generated Caller Identity Variables

Variable names are using the default custom.aws namespace, which needs to be adjusted if overridden.

Bamboo variables

This task generates the following Bamboo variables:

${bamboo.custom.aws.callerIdentity.account} ${bamboo.custom.aws.callerIdentity.arn} ${bamboo.custom.aws.callerIdentity.userId}

An alternative representation as a JSON object for automated processing with tools like jq is available too:

${bamboo.custom.aws.callerIdentity.json}

Environment variables

Aforementioned variables will also be available as environment variables in Bamboo Script tasks. (Refer to the 'Generated Variables' information dialog for format examples)