Skip to content

Commit

Permalink
Bump min tls version to 1.2 for digital twins live test storage accou…
Browse files Browse the repository at this point in the history
…nt (#39402)
  • Loading branch information
benbp authored Oct 19, 2023
1 parent f46e986 commit 327f162
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdk/digitaltwins/test-resources.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource eventHubNamespaceAuthRules 'Microsoft.EventHub/namespaces/Authorization
]
}
}

resource eventHubNamespaceEventHubAuthRules 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2017-04-01' = {
name: '${eventHubNamespaceEventHub.name}/owner'
properties: {
Expand Down Expand Up @@ -103,6 +103,9 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-05-01' = {
name: 'Standard_LRS'
}
kind: 'StorageV2'
properties: {
minimumTlsVersion: 'TLS1_2'
}

resource blobService 'blobServices' = {
name: 'default'
Expand Down Expand Up @@ -164,4 +167,4 @@ resource deploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = {
}
}

output INPUT_BLOB_URI string = 'https://${storageAccount.name}.blob.${environment().suffixes.storage}/${containerName}/${blobName}'
output INPUT_BLOB_URI string = 'https://${storageAccount.name}.blob.${environment().suffixes.storage}/${containerName}/${blobName}'

0 comments on commit 327f162

Please sign in to comment.