Skip to content

Commit

Permalink
Removed unneeded queue (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblackmoor authored Dec 7, 2023
1 parent 6934a4a commit 73a08a8
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions queue-staging.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
module "notifications-queue" {
source = "[email protected]:hmcts/terraform-module-servicebus-queue?ref=master"
name = "notifications"
namespace_name = module.queue-namespace-premium.name
resource_group_name = azurerm_resource_group.rg.name
lock_duration = "PT5M"
requires_duplicate_detection = true
duplicate_detection_history_time_window = "PT59M"
}

module "notifications-staging-queue" {
source = "[email protected]:hmcts/terraform-module-servicebus-queue?ref=master"
name = "notifications-staging"
Expand All @@ -18,30 +8,6 @@ module "notifications-staging-queue" {
duplicate_detection_history_time_window = "PT59M"
}

resource "azurerm_key_vault_secret" "notifications_queue_send_conn_str" {
key_vault_id = module.vault.key_vault_id
name = "notifications-queue-send-connection-string"
value = module.notifications-queue.primary_send_connection_string
}

resource "azurerm_key_vault_secret" "notifications_queue_listen_conn_str" {
key_vault_id = module.vault.key_vault_id
name = "notifications-queue-listen-connection-string"
value = module.notifications-queue.primary_listen_connection_string
}

resource "azurerm_key_vault_secret" "notification_queue_send_access_key" {
name = "notification-queue-send-shared-access-key"
value = module.notifications-queue.primary_send_shared_access_key
key_vault_id = module.vault.key_vault_id
}

resource "azurerm_key_vault_secret" "notification_queue_listen_access_key" {
name = "notification-queue-listen-shared-access-key"
value = module.notifications-queue.primary_listen_shared_access_key
key_vault_id = module.vault.key_vault_id
}

resource "azurerm_key_vault_secret" "notifications_staging_queue_send_conn_str" {
key_vault_id = module.vault.key_vault_id
name = "notifications-staging-queue-send-connection-string"
Expand Down

0 comments on commit 73a08a8

Please sign in to comment.