ize down
Destroy application
Synopsis
Destroy infrastructure or application. For app destroy the app name must be specified.
ize down [flags] [app name]
Examples
# Destroy all (config file required)
ize down
# Destroy app (config file required)
ize down <app name>
# Destroy app with explicitly specified config file
ize --config-file (or -c) /path/to/config down <app name>
# Destroy app with explicitly specified config file passed via environment variable.
export IZE_CONFIG_FILE=/path/to/config
ize down <app name>
Options
--auto-approve approve deploy all
-h, --help help for down
--skip-gen skip generating terraform files
--use-yarn execute commands using yarn
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
- ize -
- ize down infra - Destroy infrastructure