We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0ab23 commit bab4302Copy full SHA for bab4302
lib/deploy/events/cloudWatchEvent/compileCloudWatchEventEvents.js
@@ -75,7 +75,7 @@ module.exports = {
75
.getStateMachineLogicalId(stateMachineName, stateMachineObj);
76
const cloudWatchLogicalId = this
77
.getCloudWatchEventLogicalId(stateMachineName, eventRuleNumberInFunction);
78
- const cloudWatchIamRoleLogicalId = eventRule.iamRole || this
+ const cloudWatchIamRoleLogicalId = this
79
.getCloudWatchEventToStepFunctionsIamRoleLogicalId(stateMachineName);
80
const cloudWatchId = this.getCloudWatchEventId(stateMachineName);
81
const policyName = this.getCloudWatchEventPolicyName(stateMachineName);
0 commit comments