Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Unified variables table content
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}Create Image(s)i-1a2b3c4d
 ${utoolity.aws.volumeId}Create Snapshot(s)vol-1a2b3c4d
ISO 8601${utoolity.iso8601.basicDate}all referenced above20160412
 ${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:40:Z
 ${utoolity.iso8601.extendedDateTimeMilliseconds}./.2016-04-12T23:18:40.876:Z
 ${utoolity.iso8601.extendedTime}all./.23:18:40:Z
 ${utoolity.iso8601.extendedTimeMilliseconds}all./.23:18:40.876:Z