Skip to content

Commit

Permalink
fix(docs): unnecessary log group in Step Functions state machine x-ra…
Browse files Browse the repository at this point in the history
…y example (aws#16159)

Removes an unnecessary log group definition from the code example for enabling X-Ray in the State Machine.

fixes aws#16158

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
benhawley7 authored and david-doyle-as24 committed Sep 7, 2021
1 parent 4d46349 commit 542d325
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/@aws-cdk/aws-stepfunctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ new sfn.StateMachine(stack, 'MyStateMachine', {
Enable X-Ray tracing for StateMachine:

```ts
const logGroup = new logs.LogGroup(stack, 'MyLogGroup');

new sfn.StateMachine(stack, 'MyStateMachine', {
definition: sfn.Chain.start(new sfn.Pass(stack, 'Pass')),
tracingEnabled: true
Expand Down

0 comments on commit 542d325

Please sign in to comment.