1
0
mirror of synced 2026-02-13 21:16:57 +00:00

Add refactored e2e tests

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere
2022-09-29 22:07:19 +01:00
committed by Sunny
parent 1730f3c46b
commit f6b0c6e7ef
23 changed files with 3069 additions and 11 deletions

View File

@@ -0,0 +1,27 @@
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
}