diff --git a/README.md b/README.md
index 458f48f..073cb94 100644
--- a/README.md
+++ b/README.md
@@ -458,6 +458,7 @@ No modules.
| [create\_schemas\_discoverer](#input\_create\_schemas\_discoverer) | Controls whether default schemas discoverer should be created | `bool` | `false` | no |
| [create\_targets](#input\_create\_targets) | Controls whether EventBridge Target resources should be created | `bool` | `true` | no |
| [ecs\_target\_arns](#input\_ecs\_target\_arns) | The Amazon Resource Name (ARN) of the AWS ECS Tasks you want to use as EventBridge targets | `list(string)` | `[]` | no |
+| [event\_source\_name](#input\_event\_source\_name) | The partner event source that the new event bus will be matched with. Must match name. | `string` | `null` | no |
| [kinesis\_firehose\_target\_arns](#input\_kinesis\_firehose\_target\_arns) | The Amazon Resource Name (ARN) of the Kinesis Firehose Delivery Streams you want to use as EventBridge targets | `list(string)` | `[]` | no |
| [kinesis\_target\_arns](#input\_kinesis\_target\_arns) | The Amazon Resource Name (ARN) of the Kinesis Streams you want to use as EventBridge targets | `list(string)` | `[]` | no |
| [lambda\_target\_arns](#input\_lambda\_target\_arns) | The Amazon Resource Name (ARN) of the Lambda Functions you want to use as EventBridge targets | `list(string)` | `[]` | no |
diff --git a/main.tf b/main.tf
index 5a7a048..2956d1f 100644
--- a/main.tf
+++ b/main.tf
@@ -40,7 +40,9 @@ data "aws_cloudwatch_event_bus" "this" {
resource "aws_cloudwatch_event_bus" "this" {
count = var.create && var.create_bus ? 1 : 0
- name = var.bus_name
+ name = var.bus_name
+ event_source_name = try(var.event_source_name, null)
+
tags = var.tags
}
diff --git a/variables.tf b/variables.tf
index 8f9d887..6635fc0 100644
--- a/variables.tf
+++ b/variables.tf
@@ -84,6 +84,12 @@ variable "bus_name" {
default = "default"
}
+variable "event_source_name" {
+ description = "The partner event source that the new event bus will be matched with. Must match name."
+ type = string
+ default = null
+}
+
variable "schemas_discoverer_description" {
description = "Default schemas discoverer description"
type = string