Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Amended column names.
Section
Column
width64%

In addition to the the regular Bamboo Variable Substitution/Definition, some tasks also support the substitution of custom 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.

Column
width32%
Panel
bgColor#eeeeee

On this page:

Table of Contents

Custom Variable Support

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

TaskActionFields
EC2 Image taskCreate Image(s)

Image Name

Description

Tags

EBS Snapshot taskCreate Snapshot(s)

Description

Tags

 

Available Custom Variables

The following custom variables are currently supported:

NamespaceVariable NameAction Context(s)Example
AWS${utoolity.aws.instanceId}EC2 Create Image task(s)i-1a2b3c4d
 ${utoolity.aws.volumeId}EBS Create Snapshot task(s)vol-1a2b3c4d
ISO 8601${utoolity.iso8601.basicDate}all referenced above20160412
 ${utoolity.iso8601.basicDateTime}all./.20160412T231840Z
 ${utoolity.iso8601.basicDateTimeMilliseconds}all./.20160412T231840.876Z
 ${utoolity.iso8601.basicTime}all./.231840Z
 ${utoolity.iso8601.basicTimeMilliseconds}all./.231840.876Z
 ${utoolity.iso8601.extendedDate}all./.2016-04-12
 ${utoolity.iso8601.extendedDateTime}all./.2016-04-12T23:18:40:Z
 ${utoolity.iso8601.extendedDateTimeMilliseconds}all./.2016-04-12T23:18:40.876:Z
 ${utoolity.iso8601.extendedTime}all23:18:40:Z
 ${utoolity.iso8601.extendedTimeMilliseconds}all23:18:40.876:Z