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 726616c commit 4fa6030Copy full SHA for 4fa6030
lib/deploy/events/cloudWatchEvent/compileCloudWatchEventEvents.js
@@ -73,7 +73,7 @@ module.exports = {
73
.getStateMachineLogicalId(stateMachineName, stateMachineObj);
74
const cloudWatchLogicalId = this
75
.getCloudWatchEventLogicalId(stateMachineName, eventRuleNumberInFunction);
76
- const cloudWatchIamRoleLogicalId = this
+ const cloudWatchIamRoleLogicalId = eventRule.iamRole || this
77
.getCloudWatchEventToStepFunctionsIamRoleLogicalId(stateMachineName);
78
const cloudWatchId = this.getCloudWatchEventId(stateMachineName);
79
const policyName = this.getCloudWatchEventPolicyName(stateMachineName);
0 commit comments