logoStacktape docs


Deploys stack with specified stage to AWS. If stack doesn't exist, creates new one. If stack already exists, updates it.

stacktape deploy --region <<region>> --stage <<stage>>

Arguments API reference

Command options API reference
region (--r)
Type: string ENUM

AWS region for given command.

stage (--s)
Type: string

Stage to deploy your stack to. Example stages are production, staging, etc.

autoConfirmChanges (--acc)
Type: string

Automatically accepts changes that are being done to your stack.

configPath (--cp)
Type: string

Path (relative to cwd) to your stacktape configuration file. By default, it's stacktape.yml.

currentWorkingDirectory (--cwd)
Type: string

Current working directory. All file paths in your config will be resolved relatively to specified cwd. Default: directory containing configuration file.

disableDriftDetection (--ddd)
Type: boolean

Ignores changes made to given stack that weren't made using cloudformation (typically changes made using AWS console, aws-cli or aws-sdk).

dockerArgs (--da)
Type: array

Arguments to pass to docker run or docker build

logFormat (--lf)
Type: string ENUM

Format of logs that are being printed to your console. You can learn more at Default: 'fancy'

logLevel (--ll)
Type: string ENUM

Level of logs that are being printed to the console. You can use 'debug' for more information about what's being done, or 'error' to show only errors. Default: 'info'

maxThreads (--mt)
Type: number

Maximum number of threads that are parallelly used during packaging. By default, we try to use maximum number that won't consume too much resources of your machine.

mode (--md)
Type: string ENUM

Specifes the mode for this stack. Using production you can increase security by disabling some of the helpers made for development purposes.

noCache (--nc)
Type: boolean

Disables usage of cached artifacts. Deploys freshly built workloads.

preserveTempFiles (--ptf)
Type: boolean

Preserves temporary files that stacktape generates.

profile (--p)
Type: string

AWS profile to use.