diff --git a/sam/src/builders/localRuleCreator.js b/sam/src/builders/localRuleCreator.js index 9836364..7c40157 100644 --- a/sam/src/builders/localRuleCreator.js +++ b/sam/src/builders/localRuleCreator.js @@ -33,7 +33,7 @@ async function create(event) { eventBridgeClient.createTarget( eventConsumerName, localRule, - body.targetId, + localRule.Target, token ) ); diff --git a/sam/template.yml b/sam/template.yml index 2a4892e..914b77d 100644 --- a/sam/template.yml +++ b/sam/template.yml @@ -12,7 +12,7 @@ Metadata: ReadmeUrl: README.md Labels: ['eventbridge', 'evb-cli', 'debugging'] HomePageUrl: https://github.com/mhlabs/evb-cli#readme - SemanticVersion: 0.0.4 + SemanticVersion: 0.0.5 SourceCodeUrl: https://github.com/mhlabs/evb-cli Resources: OnConnectFunction: