Configuration
Naming Overlap
There is an unfortunate entity naming overlap between Atlassian Bamboo Tasks and Amazon ECS Tasks - rather than adding to the confusion by introducing yet another name, this documentation will refer to an Amazon ECS Task task as needed.
To configure an Amazon ECS Task Definition task:
- Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
- Click the name of an existing Amazon ECS Task Definition task, or click Add Task and then Amazon ECS Task Definition to create a new task.
Complete the following settings:
Common to all tasks
Actions supported by this task:
Register
Family Specify the family for a task definition, which allows you to track multiple versions of the same task definition. You can think of the family as a name for your task definition. Container Definitions Specify a list of container definitions in JSON format that describe the different containers that make up your task.
Volumes (Optional) A list of volume definitions in JSON format that containers in your task may use. Generated Variables Creating common variables for 1 resources affected by task: ... custom.aws.ecs.taskdefinition.resources: taws-it-270 Creating resource variables for task definition 'taws-it-270': ... custom.aws.ecs.taskdefinition.resources.taws-it-270.TaskDefinitionARN: arn:aws:ecs:us-east-1:309600995652:task-definition/taws-it-270:78 ... custom.aws.ecs.taskdefinition.resources.taws-it-270.Family: taws-it-270 ... custom.aws.ecs.taskdefinition.resources.taws-it-270.Revision: 78 Creating common variables for first resource affected by task: Creating resource variables for task definition 'taws-it-270': ... custom.aws.ecs.taskdefinition.first.TaskDefinitionARN: arn:aws:ecs:us-east-1:309600995652:task-definition/taws-it-270:78 ... custom.aws.ecs.taskdefinition.first.Family: taws-it-270 ... custom.aws.ecs.taskdefinition.first.Revision: 78
Deregister
Task Definition Specify the family and revision (family:revision) or full Amazon Resource Name (ARN) of the task definition that you want to deregister. Generated Variables N/A
Variables
All tasks support Bamboo Variable Substitution/Definition - this task's actions generate variables as follows: