Documentation for Tasks for AWS 2.12 – other releases are available in the Tasks for AWS Documentation Directory.
View

Unknown macro: {spacejump}

or visit the current documentation home.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

On this page:

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:40Z

${utoolity.iso8601.extendedDateTimeMilliseconds}./.2016-04-12T23:18:40.876Z

${utoolity.iso8601.extendedTime}./.23:18:40Z

${utoolity.iso8601.extendedTimeMilliseconds}./.23:18:40.876Z
  • No labels