Skip to content

Task Defaults

The task defaults section lets you define attributes that all PreDeploy Tasks, CronJobs, and Services will inherit.

Anything you specify here can be overridden on the individual task as well.

This is where you would set things like CPU/Memory resources, storage, architecture, etc.

Common Options

You can override every option in the Common Task Options section.

Spot Configuration

This is also where you can specify the Spot Configuration if you want to utilize Fargate Spot.

Example

task_defaults:
  cpu: 2048
  memory: 4x

  spot:
    enabled: true

Fields

<anything from common>

See Common Task Options.

Any values you specify will be used as the default for all tasks, cronjobs, services, etc. created by the deployer.

spot

Allows you to specify the default Spot Configuration for services (spot does not apply to single run tasks)

Default Values

To make onboarding easier, ECS Deployer provides a few default values for you out-of-the-box. You are welcome to override these if you want.

Field Default Value
arch amd64
cpu 1024
memory 2x
platform_version LATEST