- unmigrated-wiki-markup
Documentation for Tasks for AWS 2.11 – other releases are available in the Tasks for AWS Documentation Directory.
View
or visit the current documentation home.
Using the Amazon ECS Task Definition task in Bamboo
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 Task Definition
Family Specify the task definition family, which allows to track multiple versions of a 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 – refer to Amazon ECS Task Definitions for an overview, and section Container Definitions within Task Definition Parameters for details.
Volumes (Optional) Specify a list of volume definitions in JSON format – refer to Amazon ECS Task Definitions for an overview, and Using Data Volumes in Tasks for details Task Role ARN (Optional) Specify a list of volume definitions in JSON format – refer to Amazon ECS Task Definitions for an overview, and Using Data Volumes in Tasks for details Deregister Task Definition
Task Definition Specify the Amazon Resource Name (ARN) of the IAM role that containers in this task will assume.
Variables
All tasks support Bamboo Variable Substitution/Definition - this task's actions generate variables as follows:
Register Task Definition
Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.ecs.taskdefinition.resources: TAWS-IT270 Creating resource variables for task definition 'TAWS-IT270': ... bamboo.custom.aws.ecs.taskdefinition.resources.TAWS-IT270.TaskDefinitionARN: arn:aws:ecs:us-east-1:309600995652:task-definition/TAWS-IT270:78 ... bamboo.custom.aws.ecs.taskdefinition.resources.TAWS-IT270.Family: TAWS-IT270 ... bamboo.custom.aws.ecs.taskdefinition.resources.TAWS-IT270.Revision: 78 ... bamboo.custom.aws.ecs.taskdefinition.resources.TAWS-IT270.Status: ACTIVE Creating common variables for first resource affected by task: Creating resource variables for task definition 'TAWS-IT270': ... bamboo.custom.aws.ecs.taskdefinition.first.TaskDefinitionARN: arn:aws:ecs:us-east-1:309600995652:task-definition/TAWS-IT270:78 ... bamboo.custom.aws.ecs.taskdefinition.first.Family: TAWS-IT270 ... bamboo.custom.aws.ecs.taskdefinition.first.Revision: 78 ... bamboo.custom.aws.ecs.taskdefinition.first.Status: ACTIVE
Deregister Task Definition
N/A
How-to Articles
Frequently Asked Questions (FAQ)
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.
Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.