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:
Task | Action | Fields |
---|---|---|
EC2 Image task | Create Image(s) | Image Name Description Tags |
EBS Snapshot task | Create Snapshot(s) | Description Tags |
Available Custom Variables
The following custom 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: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 |