Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to release 2.10.3.

You can use the Amazon ECS Task Definition task to create or delete an Amazon EC2 Container Service (ECS) task definition (see Deploying to Amazon ECS for an overview of the ECS component lifecycle and deployment workflow).

Image RemovedImage Added

 

Panel
borderColor#bbb
bgColor#eeeeee

On this page:

Table of Contents
exclude(Popular.*|Recent.*)

Panel
borderColor#bbb
bgColor#eeeeee

Related Pages:

Configuration

Info
titleNaming 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:

  1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
  2. 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.
  3. Complete the following settings:

    1. Common to all tasks

      Include Page
      _CommonTaskParametersTable
      _CommonTaskParametersTable

    • Actions supported by this task:

       

      Register Task Definition

       
      Family Specify the
    family for a
    • task definition family, which allows
    you
    • to track multiple versions of
    the same
    • a task definition.
      • (info) 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 A
    • Specify a list of volume definitions in JSON
    format that containers in your task may use.

    Deregister

    (warning) The required API action DeregisterTaskDefinition has not been implemented yet by AWS, see the forum post How to deregister/remove task definition(ECS)? for more details full
    • Amazon Resource Name (ARN) of the task definition.

Variables

Include Page
_VariablesNote
_VariablesNote

Register Task Definition

Code Block
languagetext
linenumberstrue
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 that you want to deregister.
 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

Filter by label (Content by label)
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ("aws-cli","amazon-ecs")

Frequently Asked Questions (FAQ)

Questionslist macro
filterrecentpopular
asktrue
limit8
topicamazon-ecs

Task Definition