In addition to the substitution of regularĀ Bamboo variables, some tasks also support the substitution of contextual entities via variables to ease composing unique names when operating multiple AWS resources at once, for example creating EBS snapshots from a set of EBS volumes, or EC2 images from a set of EC2 instances.

Entity variable contexts

Contextual entity variables are currently substituted in the following task configuration text fields:

Task

Action

Fields

EC2 Image task

Create Image(s)

Image Name

Description

Tags

EBS Snapshot task

Create Snapshot(s)

Description

Tags

Available entity variables

The following contextual entity variables are currently supported:

Namespace

Variable Name

Action Context(s)

Example

AWS

${utoolity.aws.instanceId}

Create Image(s)

i-1a2b3c4d

${utoolity.aws.volumeId}

Create Snapshot(s)

vol-1a2b3c4d

ISO 8601

${utoolity.iso8601.basicDate}

all referenced above

20160412

${utoolity.iso8601.basicDateTime}

./.

20160412T231840Z

${utoolity.iso8601.basicDateTimeMilliseconds}

./.

20160412T231840.876Z

${utoolity.iso8601.basicTime}

./.

231840Z

${utoolity.iso8601.basicTimeMilliseconds}

./.

231840.876Z

${utoolity.iso8601.extendedDate}

./.

2016-04-12

${utoolity.iso8601.extendedDateTime}

./.

2016-04-12T23:18:40Z

${utoolity.iso8601.extendedDateTimeMilliseconds}

./.

2016-04-12T23:18:40.876Z

${utoolity.iso8601.extendedTime}

./.

23:18:40Z

${utoolity.iso8601.extendedTimeMilliseconds}

./.

23:18:40.876Z