Skip to content

Commit 30ea90a

Browse files
authored
Merge pull request #37 from i78/add-policies-to-cleanup-instructions
fix: added hint to cleanup inline policies before tearing down stack
2 parents e71831b + ab625bc commit 30ea90a

File tree

2 files changed

+12
-4
lines changed
  • workshop/content

2 files changed

+12
-4
lines changed

workshop/content/fan-out-and-message-filtering/clean-up/clean-up.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ pre = "8 "
66

77
In this step, we will clean up all resources, we created during this lab, so that no further cost will occur.
88

9-
#### 1. Delete the AWS SAM template
9+
#### 1. Delete the previously created IAM Inline Policies
10+
11+
In your Amazon IAM console, select **[Roles](https://console.aws.amazon.com/iamv2/home#/roles)** in the left navigation. In the search field, enter "async-msg". Open all matching roles and delete the previously created inline policies by clicking the "x" right to the policy name.
12+
13+
#### 2. Delete the AWS SAM template
1014

1115
In your Cloud9 IDE, run the following command to delete the resources we created with our AWS SAM template:
1216

@@ -18,7 +22,7 @@ aws cloudformation delete-stack \
1822
{{< /highlight >}}
1923

2024

21-
#### 2. Delete the AWS Lambda created Amazon CloudWatch Log Group
25+
#### 3. Delete the AWS Lambda created Amazon CloudWatch Log Group
2226

2327
Follow **[this deep link](https://console.aws.amazon.com/cloudwatch/home?#logs:prefix=/aws/lambda/wild-rydes)** to list the **Amazon CloudWatch Log Groups** with the name `/aws/lambda/wild-rydes`, AWS Lambda created during this lab. Select the Amazon CloudWatch Log Group and choose **Delete log group** from the **Actions** menu.
2428

workshop/content/topic-queue-chaining-and-load-balancer/clean-up/clean-up.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ pre = "8 "
66

77
In this step, we will clean up all resources, we created during this lab, so that no further cost will occur.
88

9-
#### 1. Delete the AWS SAM template
9+
#### 1. Delete the previously created IAM Inline Policies
10+
11+
In your Amazon IAM console, select **[Roles](https://console.aws.amazon.com/iamv2/home#/roles)** in the left navigation. In the search field, enter "async-msg". Open all matching roles and delete the previously created inline policies by clicking the "x" right to the policy name.
12+
13+
#### 2. Delete the AWS SAM template
1014

1115
In your Cloud9 IDE, run the following command to delete the resources we created with our AWS SAM template:
1216

@@ -18,7 +22,7 @@ aws cloudformation delete-stack \
1822
{{< /highlight >}}
1923

2024

21-
#### 2. Delete the AWS Lambda created Amazon CloudWatch Log Group
25+
#### 3. Delete the AWS Lambda created Amazon CloudWatch Log Group
2226

2327
Follow **[this deep link](https://console.aws.amazon.com/cloudwatch/home?#logs:prefix=/aws/lambda/wild-rydes-async-msg-2)** to list all **Amazon CloudWatch Log Groups** with the prefix `/aws/lambda/wild-rydes-async-msg-2`, AWS Lambda created during this lab. Select all the Amazon CloudWatch Log Group one after each other and choose **Delete log group** from the **Actions** menu.
2428

0 commit comments

Comments
 (0)