Sha256: 59fb8d6b16585aad73880a66cea35ed8bc29a218202ba1d49383c641965c2f77

Contents?: true

Size: 1.12 KB

Versions: 45

Compression:

Stored size: 1.12 KB

Contents

## Examples

You only need to specific the task definition version number, though you can specify the name also

    ufo rollback demo-web 1
    ufo rollback demo-web demo-web:1

To see recent task definitions:

    ufo releases

If you set a current service with `ufo current`, then the commands get shorten:

    ufo rollback demo-web:1
    ufo rollback 1

Note, task definitions get created by many ways with more than just `ufo ship`. So it the previous version might not be the latest version number minus one.

## Using image name

Another way to specify the version for rollback is with the container definition's image value.  Here's the portion of the ecs task definition that you would look for:

    ...
    "container_definitions": [
      {
        "name": "web",
        "image": "tongueroo/demo-ufo:ufo-2018-06-21T15-03-52-ac60240",
        "cpu": 256,
    ...

You only need to specify enough for a match to be found.  Ufo searches the 30 most recent task definitions. So all of these would work:

    ufo rollback tongueroo/demo-ufo:ufo-2018-06-21T15-03-52-ac60240
    ufo rollback 2018-06-21T15-03-52
    ufo rollback ac60240

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ufo-5.0.7 lib/ufo/help/rollback.md
ufo-5.0.6 lib/ufo/help/rollback.md
ufo-5.0.5 lib/ufo/help/rollback.md
ufo-5.0.4 lib/ufo/help/rollback.md
ufo-5.0.3 lib/ufo/help/rollback.md
ufo-5.0.2 lib/ufo/help/rollback.md
ufo-5.0.1 lib/ufo/help/rollback.md
ufo-5.0.0 lib/ufo/help/rollback.md
ufo-4.6.3 lib/ufo/help/rollback.md
ufo-4.6.2 lib/ufo/help/rollback.md
ufo-4.6.1 lib/ufo/help/rollback.md
ufo-4.6.0 lib/ufo/help/rollback.md
ufo-4.5.11 lib/ufo/help/rollback.md
ufo-4.5.10 lib/ufo/help/rollback.md
ufo-4.5.9 lib/ufo/help/rollback.md
ufo-4.5.8 lib/ufo/help/rollback.md
ufo-4.5.7 lib/ufo/help/rollback.md
ufo-4.5.6 lib/ufo/help/rollback.md
ufo-4.5.5 lib/ufo/help/rollback.md
ufo-4.5.4 lib/ufo/help/rollback.md