Skip to content

Commit

Permalink
feat: (PSKD-729) Removed experimental Azure Service Bus support (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
riragh authored Oct 14, 2024
1 parent 651c565 commit 90174fe
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 128 deletions.
13 changes: 0 additions & 13 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -257,19 +257,6 @@ module "netapp" {
depends_on = [module.vnet]
}

module "message_broker" {
source = "./modules/azurerm_message_broker"
count = var.create_azure_message_broker ? 1 : 0

resource_group_name = local.aks_rg.name
location = var.location
prefix = var.prefix
message_broker_sku = var.message_broker_sku
message_broker_name = var.message_broker_name
message_broker_capacity = var.message_broker_capacity
tags = var.tags
}

data "external" "git_hash" {
program = ["files/tools/iac_git_info.sh"]
}
Expand Down
26 changes: 0 additions & 26 deletions modules/azurerm_message_broker/main.tf

This file was deleted.

10 changes: 0 additions & 10 deletions modules/azurerm_message_broker/outputs.tf

This file was deleted.

40 changes: 0 additions & 40 deletions modules/azurerm_message_broker/variables.tf

This file was deleted.

14 changes: 0 additions & 14 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,3 @@ output "cluster_node_pool_mode" {
output "cluster_api_mode" {
value = var.cluster_api_mode
}

## Message Broker - Azure Service Bus
output "message_broker_hostname" {
value = var.create_azure_message_broker ? element(flatten(module.message_broker[*].message_broker_hostname), 0) : null
}

output "message_broker_primary_key" {
value = var.create_azure_message_broker ? element(coalescelist(module.message_broker[*].message_broker_primary_key, [""]), 0) : null
sensitive = true
}

output "message_broker_name" {
value = var.create_azure_message_broker ? var.message_broker_name : null
}
25 changes: 0 additions & 25 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -802,28 +802,3 @@ variable "aks_cluster_private_dns_zone_id" {
type = string
default = ""
}

## Message Broker - Azure Service Bus - Experimental
variable "create_azure_message_broker" {
description = "Allows user to create a fully managed enterprise message broker: Azure Service Bus"
type = bool
default = false
}

variable "message_broker_sku" {
description = "Defines which tier to use. Options are Basic, Standard or Premium. SAS Viya Platform recommends using 'Premium'."
type = string
default = "Premium"
}

variable "message_broker_name" {
description = "Specifies the name of the message broker, also specified for the ServiceBus Namespace Authorization Rule resource. Changing this forces a new resource to be created."
type = string
default = "Arke"
}

variable "message_broker_capacity" {
description = "Specifies the capacity. When sku is Premium, capacity can be 1, 2, 4, 8 or 16. When sku is Basic or Standard, capacity can be 0 only."
type = number
default = 1
}

0 comments on commit 90174fe

Please sign in to comment.