codebuild:deploy
Overview and basic usage
codebuild:deploy
Deploys your stack to AWS using AWS CodeBuild.
This command offloads the deployment process to a dedicated environment within your AWS account, which is useful for resource-intensive projects.
Here's how it works:
- Your project is zipped and uploaded to an S3 bucket in your account.
- A CodeBuild environment (a dedicated VM) is provisioned.
- The deployment begins, and logs are streamed to your terminal in real-time.
Like the deploy command, this requires a stacktape.yml file.
stacktape codebuild:deploy --stage <<stage>> --region <<region>>
API reference
Options
region (--r)
Required
stage (--s)
Required
autoConfirmOperation (--aco)
awsAccount (--aa)
configPath (--cp)
currentWorkingDirectory (--cwd)
disableAutoRollback (--dar)
disableDriftDetection (--ddd)
dockerArgs (--da)
help (--h)
hotSwap (--hs)
logFormat (--lf)
logLevel (--ll)
noCache (--nc)
preserveTempFiles (--ptf)
profile (--p)
projectName (--prj)
showSensitiveValues (--ssv)
templateId (--ti)