diff --git a/modules/services/event-hub-data-source/main.tf b/modules/services/event-hub-data-source/main.tf index 12c1e1a..669fb0a 100644 --- a/modules/services/event-hub-data-source/main.tf +++ b/modules/services/event-hub-data-source/main.tf @@ -28,7 +28,7 @@ resource "azurerm_resource_group" "sysdig_resource_group" { # Create an Event Hub Namespace for Sysdig #--------------------------------------------------------------------------------------------- resource "azurerm_eventhub_namespace" "sysdig_event_hub_namespace" { - name = "${var.event_hub_namespace_name}-${var.subscription_id}" + name = var.event_hub_namespace_name location = azurerm_resource_group.sysdig_resource_group.location resource_group_name = azurerm_resource_group.sysdig_resource_group.name sku = var.namespace_sku diff --git a/modules/services/event-hub-data-source/variables.tf b/modules/services/event-hub-data-source/variables.tf index 72854dc..790cd71 100644 --- a/modules/services/event-hub-data-source/variables.tf +++ b/modules/services/event-hub-data-source/variables.tf @@ -52,7 +52,6 @@ variable "namespace_sku" { variable "event_hub_namespace_name" { type = string description = "Name of the Event Hub Namespace to be created" - default = "sysdig" } variable "event_hub_name" {