Sha256: d84975698cfab97986882eee05a4779ca5785a3e4e73e305cfacc810b259ad15

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

It is useful to sometimes deploy only the task definition without re-building it.  Say for example, you are debugging the task definition and just want to directly edit the `.ufo/output/demo-web.json` definition. You can accomplish this with the `ufo deploy` command.  The `ufo deploy` command will deploy the task definition in `.ufo/output` unmodified.  Example:

    ufo deploy demo-web

The above command does the following:

1. register the `.ufo/output/demo-web.json` task definition to ECS untouched.
2. deploys it to ECS by updating the service

### ufo tasks build

To regenerate a `.ufo/output/demo-web.json` definition:

    ufo tasks build

### ufo ship

The `ufo deploy` command does less than the `ufo ship` command.  Normally, it is recommended to use `ufo ship` over the `ufo deploy` command to do everything in one step:

1. build the Docker image
2. register the ECS task definition
3. update the ECS service

The `ufo ships`, `ufo ship`, `ufo deploy` command support the same options. The options are presented here again for convenience:

{% include ufo-ship-options.md %}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ufo-4.1.1 lib/ufo/help/deploy.md
ufo-4.1.0 lib/ufo/help/deploy.md
ufo-4.0.3 lib/ufo/help/deploy.md
ufo-4.0.2 lib/ufo/help/deploy.md
ufo-4.0.1 lib/ufo/help/deploy.md
ufo-4.0.0 lib/ufo/help/deploy.md