You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/tests/integration/terraform/azure/event-hub.tf

28 lines
851 B
HCL

resource "azurerm_eventhub_namespace" "this" {
name = local.name
location = var.azure_location
resource_group_name = module.aks.resource_group
sku = "Basic"
capacity = 1
tags = var.tags
}
resource "azurerm_eventhub" "this" {
name = local.name
namespace_name = azurerm_eventhub_namespace.this.name
resource_group_name = module.aks.resource_group
partition_count = 1
message_retention = 1
}
resource "azurerm_eventhub_authorization_rule" "this" {
name = local.name
resource_group_name = module.aks.resource_group
namespace_name = azurerm_eventhub_namespace.this.name
eventhub_name = azurerm_eventhub.this.name
listen = true
send = true
manage = false
}