Skip to content

Commit c1f34c4

Browse files
authored
Merge pull request #22 from Azure-Samples/tls
Update TLS versions for Service Bus
2 parents b42fed0 + 88fc6f8 commit c1f34c4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

infra/app/servicebus.bicep

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ param topicName string = 'orders'
55
param tags object
66

77

8-
resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2021-11-01' = {
8+
resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2022-10-01-preview' = {
99
name: 'sb-${resourceToken}'
1010
location: location
1111
tags: tags
1212
sku: {
1313
name: skuName
1414
tier: skuName
1515
}
16-
16+
properties: {
17+
minimumTlsVersion: '1.2'
18+
}
1719
resource topic 'topics' = {
1820
name: topicName
1921
properties: {

ps-rule.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# YAML: Set the AZURE_BICEP_FILE_EXPANSION configuration option to enable expansion
22
configuration:
3-
AZURE_BICEP_FILE_EXPANSION: true
3+
AZURE_BICEP_FILE_EXPANSION: true
4+
AZURE_DEPLOYMENT_NONSENSITIVE_PARAMETER_NAMES:
5+
- resourceToken

0 commit comments

Comments
 (0)