ize deploy

Manage deployments

Synopsis

Deploy service. App name must be specified for a app deploy.

If you install a revision of the task definition, the application will be redeployed (ECS only). Warning: Redeployment using the docker runtime, a new task definition will be deployed based on the specified revision.

ize deploy [flags] <app name>

Examples

  # Deploy app (config file required)
  ize deploy <app name>
  
  # Deploy app via config file
  ize --config-file (or -c) /path/to/config deploy <app name>
  
  # Deploy app via config file installed from env
  export IZE_CONFIG_FILE=/path/to/config
  ize deploy <app name>
  
  # Redeploy app (ECS only)
  ize deploy <app name> --task-definition-revision <task definition revision>

Options

      --force                             forces a deployment to take place (only serverless)
  -h, --help                              help for deploy
      --task-definition-revision string   set task definition revision (ECS only)
      --unsafe                            set unsafe healthcheck options (accelerates deployment if possible)

Options inherited from parent commands

  -p, --aws-profile string         (required) set AWS profile (overrides value in ize.toml and IZE_AWS_PROFILE / AWS_PROFILE if any of them are set)
  -r, --aws-region string          (required) set AWS region (overrides value in ize.toml and IZE_AWS_REGION / AWS_REGION if any of them are set)
  -c, --config-file string         set config file name
  -e, --env string                 (required) set environment name (overrides value set in IZE_ENV / ENV if any of them are set)
  -l, --log-level string           set log level. Possible levels: info, debug, trace, panic, warn, error, fatal(default)
  -n, --namespace string           (required) set namespace (overrides value in ize.toml and IZE_NAMESPACE / NAMESPACE if any of them are set)
      --plain-text-output          enable plain text output
      --prefer-runtime string      set prefer runtime (native, docker or docker-arm64) (default "native")
      --terraform-version string   set terraform-version

SEE ALSO

Auto generated by spf13/cobra on 28-Jan-2025