-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathclean.sh
executable file
·26 lines (24 loc) · 1.2 KB
/
clean.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#########################################################
# Clean resources created for the first Worker Services #
#########################################################
# 1. Navigate to the CDK project folder for the Worker Service that persists into DynamoDB
# 2. Destroy all resources without ask for confirmation before destroying the stacks
cd ServicesWorkerDb/src/infra/ \
&& cdk destroy -f \
&& cd -
##########################################################
# Clean resources created for the second Worker Services #
##########################################################
# 1. Navigate to the CDK project folder for the Worker Service that persists into S3
# 2. Destroy all resources without ask for confirmation before destroying the stacks
cd ServicesWorkerIntegration/src/infra/ \
&& cdk destroy -f \
&& cd -
############################################################
# Clean resources created for the WebAPI #
############################################################
# 1. Navigate to the CDK project folder for the WebAPI project
# 2. Destroy all resources without ask for confirmation before destroying the stacks
cd WebAPI/src/infra/ \
&& cdk destroy -f \
&& cd -