delete()
Overview and basic usage
Deletes the stack (specified stage of your project) from AWS.
- This operation is irreversible. Please create a backup of any data that you wish to keep.
- If no config(template) is provided, Stacktape will not execute
beforeDelete
hooks.
Copy
import { Stacktape } from "stacktape";const stacktape = new Stacktape();stacktape.delete({region: "<<region>>",stage: "<<stage>>"});
API reference
Arguments
region
Required
stage
Required
awsAccount
config
configPath
currentWorkingDirectory
profile
projectName
templateId