deploy()
Overview and basic usage
Deploys the stack (specified stage of your project) to AWS.
- If the stack doesn't exist, creates a new one. If the stack already exists, updates it.
- Requires a valid stacktape configuration file in the current working directory or configuring a path to the config
file using
--configPath
option.
Copy
import { Stacktape } from "stacktape";const stacktape = new Stacktape();stacktape.deploy({region: "<<region>>",stage: "<<stage>>"});
API reference
Arguments
region
Required
stage
Required
awsAccount
config
configPath
currentWorkingDirectory
disableAutoRollback
disableDriftDetection
dockerArgs
hotSwap
noCache
preserveTempFiles
profile
projectName
templateId