Skip to content

[New Feature]: Add task-definition-arn input to deploy an existing revision #882

Description

@hfalk

Feature Description

Add a task-definition-arn input as an alternative to task-definition, for
deploying a task definition revision that is already registered in ECS. When it
is set, the action skips RegisterTaskDefinition and deploys the given revision
as-is.

    - name: Deploy an existing task definition revision
      uses: aws-actions/amazon-ecs-deploy-task-definition@v2
      with:
        task-definition-arn: arn:aws:ecs:us-east-2:123456789012:task-definition/my-task-definition-family:7
        service: my-service
        cluster: my-cluster
        wait-for-service-stability: true

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions