Skip to content

Commit bab4302

Browse files
author
Taras Buchko
authored
fix: remove first possible fix
1 parent 9c0ab23 commit bab4302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/events/cloudWatchEvent/compileCloudWatchEventEvents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575
.getStateMachineLogicalId(stateMachineName, stateMachineObj);
7676
const cloudWatchLogicalId = this
7777
.getCloudWatchEventLogicalId(stateMachineName, eventRuleNumberInFunction);
78-
const cloudWatchIamRoleLogicalId = eventRule.iamRole || this
78+
const cloudWatchIamRoleLogicalId = this
7979
.getCloudWatchEventToStepFunctionsIamRoleLogicalId(stateMachineName);
8080
const cloudWatchId = this.getCloudWatchEventId(stateMachineName);
8181
const policyName = this.getCloudWatchEventPolicyName(stateMachineName);

0 commit comments

Comments
 (0)