scriptRun()
Overview and basic usage
Executes the specified script.
- To learn more about scripts, refer to script docs.
- Optionally, you can add environment variables to the script using
--env my_var=my_value
Copy
import { Stacktape } from "stacktape";const stacktape = new Stacktape();stacktape.scriptRun({region: "<<region>>",scriptName: "<<scriptName>>",stage: "<<stage>>"});
API reference
Arguments
region
Required
scriptName
Required
stage
Required
awsAccount
configPath
currentWorkingDirectory
env
profile
projectName
templateId