Stacktape
Stacktape


scriptRun()

Overview and basic usage


script:run

Executes a script defined in your configuration.

You can pass environment variables to the script using the --env option (e.g., --env MY_VAR=my_value).

To learn more, refer to the scripts documentation.



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

Contents