Skip to content

Commit

Permalink
Merge pull request #22 from Azure-Samples/tls
Browse files Browse the repository at this point in the history
Update TLS versions for Service Bus
  • Loading branch information
tonybaloney authored Jun 6, 2024
2 parents b42fed0 + 88fc6f8 commit c1f34c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions infra/app/servicebus.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ param topicName string = 'orders'
param tags object


resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2021-11-01' = {
resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2022-10-01-preview' = {
name: 'sb-${resourceToken}'
location: location
tags: tags
sku: {
name: skuName
tier: skuName
}

properties: {
minimumTlsVersion: '1.2'
}
resource topic 'topics' = {
name: topicName
properties: {
Expand Down
4 changes: 3 additions & 1 deletion ps-rule.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# YAML: Set the AZURE_BICEP_FILE_EXPANSION configuration option to enable expansion
configuration:
AZURE_BICEP_FILE_EXPANSION: true
AZURE_BICEP_FILE_EXPANSION: true
AZURE_DEPLOYMENT_NONSENSITIVE_PARAMETER_NAMES:
- resourceToken

0 comments on commit c1f34c4

Please sign in to comment.