Deployment Options
DeploymentConfig API reference
terminationProtection
Set termination protection for the stack
Type: boolean
- Stacks with termination protection enabled cannot be deleted (you need to disable protection first).
cloudformationRoleArn
<< Description missing. Will be provided soon. >>
Type: string
triggerRollbackOnAlarmArns
<< Description missing. Will be provided soon. >>
Type: Array of string
monitoringTimeAfterDeploymentInMinutes
<< Description missing. Will be provided soon. >>
Type: number
autoRollback
Enables/disables automatic rollback after the deployment failure
Type: boolean
By default automatic rollback is disabled
When rollback is disabled and deployment fails:
- the stack will be in UPDATE_FAILED state,
- all of the successfully created resources will be kept,
- the stack which is in UPDATE_FAILED state can either be:
- updated using
stacktape deploy
command (after you fix problems), - rolled back using
stacktape rollback
command.
- updated using
When rollback is enabled and deployment fails:
- stack will rollback to the old version (version before this
stacktape deploy
), - new resources which were created during the failed deploy will be deleted.
- stack will rollback to the old version (version before this
publishEventsToArn
<< Description missing. Will be provided soon. >>
Type: Array of string
previousVersionsToKeep
Default: 3
Amount of previous versions that will have their deployment artifacts preserved
Type: number
- Stacktape keeps deployment artifacts from previous versions (functions, images, templates)
- By default, Stacktape keeps 3 previous versions
useS3TransferAcceleration
Default: true
Sets S3 transfer acceleration.
Type: boolean
- S3 transfer acceleration improves upload times of your deployment artifacts.
- Buckets are uploaded to the nearest AWS edge location, and routed to the bucket from there using AWS backbone network.
- This improves upload times, but costs more ($0.04 per GB).