Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix: add deploy before destroy in all english docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mobob committed Aug 11, 2023
1 parent eeec1b6 commit c220fc3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions workshop/content/english/20-typescript/60-cleanups/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ export class HitCounter extends Construct {
}
{{</highlight>}}

Since we made a change in the construct file, we need to redeploy the stack to put the changes into effect. Use `cdk deploy`:

```
cdk deploy
```

Additionally, the Lambda function created will generate CloudWatch logs that are
permanently retained. These will not be tracked by CloudFormation since they are
not part of the stack, so the logs will still persist. You will have to manually
Expand Down
5 changes: 5 additions & 0 deletions workshop/content/english/30-python/60-cleanups/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ class HitCounter(Construct):
downstream.grant_invoke(self.handler)
{{</highlight>}}

Since we made a change in the construct file, we need to redeploy the stack to put the changes into effect. Use `cdk deploy`:

```
cdk deploy
```

Additionally, the Lambda function created will generate CloudWatch logs that are
permanently retained. These will not be tracked by CloudFormation since they are
Expand Down
6 changes: 6 additions & 0 deletions workshop/content/english/40-dotnet/60-cleanups/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ namespace CdkWorkshop
}
{{</highlight>}}

Since we made a change in the construct file, we need to redeploy the stack to put the changes into effect. Use `cdk deploy`:

```
cdk deploy
```

Additionally, the Lambda function created will generate CloudWatch logs that are
permanently retained. These will not be tracked by CloudFormation since they are
not part of the stack, so the logs will still persist. You will have to manually
Expand Down
5 changes: 5 additions & 0 deletions workshop/content/english/60-go/60-cleanups/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ func (h *hitCounter) Table() awsdynamodb.Table {

{{</highlight>}}

Since we made a change in the construct file, we need to redeploy the stack to put the changes into effect. Use `cdk deploy`:

```
cdk deploy
```

Additionally, the Lambda function created will generate CloudWatch logs that are
permanently retained. These will not be tracked by CloudFormation since they are
Expand Down

0 comments on commit c220fc3

Please sign in to comment.