AWS Core CDK: Add option to cleanup resources that are retained by default (#5470) (#5618)

* Add option to cleanup resources that are retained by default

Signed-off-by: Pip Potter <61438964+lmbr-pip@users.noreply.github.com>
This commit is contained in:
Junbo Liang
2021-11-16 10:33:57 -08:00
committed by GitHub
parent c73417a9c1
commit d468cbad85
4 changed files with 38 additions and 3 deletions
@@ -7,7 +7,7 @@ REM SPDX-License-Identifier: Apache-2.0 OR MIT
REM
REM
REM Deploy the CDK applcations for AWS gems (Windows only)
REM Deploy the CDK applications for AWS gems (Windows only)
REM Prerequisites:
REM 1) Node.js is installed
REM 2) Node.js version >= 10.13.0, except for versions 13.0.0 - 13.6.0. A version in active long-term support is recommended.
@@ -57,7 +57,7 @@ IF ERRORLEVEL 1 (
exit /b 1
)
CALL :DeployCDKApplication AWSCore "-c disable_access_log=true --all"
CALL :DeployCDKApplication AWSCore "-c disable_access_log=true -c remove_all_storage_on_destroy=true --all"
IF ERRORLEVEL 1 (
exit /b 1
)