Skip to content

Commit

Permalink
Merge pull request #442 from recognizegroup/feature/22690-default-tls…
Browse files Browse the repository at this point in the history
…-provided

Upgraded default TLS on SB (since older are going to be deprecated)
  • Loading branch information
tom-reinders authored Jan 16, 2025
2 parents 54d9f82 + 4d48c43 commit b019960
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/azure/service_bus_public/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource "azurerm_servicebus_namespace" "service_bus" {
location = var.location
resource_group_name = var.resource_group_name
sku = var.sku
minimum_tls_version = var.minimum_tls_version
}

resource "azurerm_servicebus_namespace_authorization_rule" "authorization_rule" {
Expand Down
6 changes: 6 additions & 0 deletions modules/azure/service_bus_public/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ variable "log_analytics_workspace_id" {
description = "Specifies the ID of a Log Analytics Workspace where diagnostics data should be sent."
default = null
}

variable "minimum_tls_version" {
type = string
description = "Specifies the minimum version of TLS to use (1.0 and 1.1 are deprecated from Feb 2025)"
default = "1.2"
}

0 comments on commit b019960

Please sign in to comment.