Skip to content

Commit 4066d28

Browse files
committed
changing scope of lookup for existing log group arn in datadog step functions construct
1 parent cbcaaad commit 4066d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/datadog-step-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class DatadogStepFunctions extends Construct {
147147
throw new Error(`logGroupArn is undefined. ${unsupportedCaseErrorMessage}`);
148148
}
149149

150-
logGroup = logs.LogGroup.fromLogGroupArn(this, "LogGroup", logGroupArn);
150+
logGroup = logs.LogGroup.fromLogGroupArn(stateMachine, "LogGroup", logGroupArn);
151151
}
152152

153153
// Configure state machine role to have permission to log to CloudWatch Logs, following

0 commit comments

Comments
 (0)