forked from rupeshtiwari/amazon-msk-java-app-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdestroy.sh
More file actions
22 lines (15 loc) · 711 Bytes
/
destroy.sh
File metadata and controls
22 lines (15 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
# export AWS_PROFILE=<REPLACE WITH YOUR AWS PROFILE NAME> or alternatively follow instructions on https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html#getting_started_prerequisites
cd ../amazon-msk-java-app-cdk || exit
echo "Destroying FargateStack..."
cdk destroy FargateStack --force --verbose
echo "Destroying KafkaStack..."
cdk destroy KafkaStack --force --verbose
echo "Destroying KafkaTopicStack"
cdk destroy KafkaTopicStack --force --verbose
echo "Destroying DynamoDbStack..."
cdk destroy DynamoDbStack --force --verbose
echo "Deploying LambdaStack..."
cdk destroy LambdaStack --force --verbose
echo "Destroying VpcStack..."
cdk destroy VpcStack --force --verbose