Delete Deployment Tier
The nuke
command is used to delete all CloudFormation stacks from a deployment tier, including LambdaSharp.Core
and the deployment bucket.
The user will have to confirm the operation twice, including confirming the deployment tier name, unless the --confirm-tier
or --dryrun
options are used.
Options
--dryrun
-
(optional) Show the result of the delete operation without deleting anything
--confirm-tier <NAME>
-
(optional) Confirm deployment tier name to skip confirmation prompts
--tier|-T <NAME>
-
(optional) Name of deployment tier (default:
LAMBDASHARP_TIER
environment variable) --aws-profile|-P <NAME>
-
(optional) Use a specific AWS profile from the AWS credentials file
--aws-region <NAME>
-
(optional) Use a specific AWS region (default: read from AWS profile)
--verbose|-V[:<LEVEL>]
-
(optional) Show verbose output (0=Quiet, 1=Normal, 2=Detailed, 3=Exceptions; Normal if LEVEL is omitted)
--no-ansi
-
(optional) Disable colored ANSI terminal output
--quiet
-
(optional) Don't show banner or execution time
--no-beep
-
(optional) Don't emit beep when finished
Examples
List all deployed modules
Using PowerShell/Bash:
lash nuke --tier Sandbox
Output:
LambdaSharp CLI (v0.7.0.15) - Delete a LambdaSharp deployment tier
=> Inspecting deployment tier Sandbox
=> Found 2 CloudFormation stacks to delete
LambdaSharp-S3-IO
LambdaSharp-Core
|=> Confirm the deployment tier name to delete: Sandbox
|=> Proceed with deleting deployment tier 'SteveBv7' [y/N] y
...