Skip to content

Commit

Permalink
Merge pull request #4 from treedomtrees/fix/rule-naming
Browse files Browse the repository at this point in the history
fix(sqs-lambda): fix duplicate "rule" in physical name
  • Loading branch information
brandomeniconi authored Dec 3, 2024
2 parents d959331 + bd72757 commit dd56b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sqs-lambda/src/eventbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class EventBridgeSqsLambda extends Construct {
}

addRule(ruleName: string, ruleProps: EventBridgeSqsLambdaRuleProps) {
const rule = new Rule(this, `${ruleName}Rule`, {
const rule = new Rule(this, ruleName, {
ruleName,
...ruleProps,
});
Expand Down

0 comments on commit dd56b0c

Please sign in to comment.