Skip to content

Commit

Permalink
chore: Add TF_AZURE_EVENTHUB_NAMESPACE secret (#143)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
  • Loading branch information
JorTurFer authored Feb 2, 2024
1 parent 5ba3c0e commit 1e16d1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ module "github_secrets" {
source = "./modules/github/secrets"
repository = var.repository
secrets = [
{
name = "TF_AZURE_EVENTHUB_NAMESPACE"
value = module.azure_event_hub_namespace.namespace_name
},
# Remove TF_AZURE_EVENTHBUS_MANAGEMENT_CONNECTION_STRING after
# https://github.com/kedacore/keda/pull/5471 is merged
{
name = "TF_AZURE_EVENTHBUS_MANAGEMENT_CONNECTION_STRING"
value = module.azure_event_hub_namespace.manage_connection_string
Expand Down
4 changes: 4 additions & 0 deletions terraform/modules/azure/event-hub-namespace/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
output "manage_connection_string" {
value = azurerm_eventhub_namespace_authorization_rule.manage_connection.primary_connection_string
}

output "namespace_name" {
value = local.event_hub_name
}

0 comments on commit 1e16d1d

Please sign in to comment.