compileTemplate()
Overview and basic usage
compile-template
Compiles your Stacktape configuration into a CloudFormation template.
By default, the template is saved to ./compiled-template.yaml. Use the --outFile option to specify a different path.
import { Stacktape } from "stacktape";const stacktape = new Stacktape();stacktape.compileTemplate({region: "<<region>>",stage: "<<stage>>"});
API reference
Arguments
region
Required
stage
Required
awsAccount
config
configPath
currentWorkingDirectory
outFile
preserveTempFiles
profile
projectName
templateId