ize build

build apps

Synopsis

Build app. App name must be specified for a app build.

ize build [flags] <app name>

Examples

  # Build app (config file required)
  ize build <app name>
  
  # Build app with explicitly specified config file
  ize --config-file (or -c) /path/to/config build <app name>
  
  #  Build app with explicitly specified config file passed via environment variable.
  export IZE_CONFIG_FILE=/path/to/config
  ize build <app name>
  
  # Build app for arm64
  ize build <app name> --prefer-runtime docker-arm64

Options

  -h, --help   help for build

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