Skip to content

Commit

Permalink
Update Microsoft.Devices/provisioningServices api version on bicep te…
Browse files Browse the repository at this point in the history
…mplates

#2585
  • Loading branch information
hocinehacherouf committed Oct 15, 2023
1 parent 6f32acf commit 2f218b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/azure/app_service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resource site 'Microsoft.Web/sites@2022-03-01' = {
{
name: 'Azure__IoTDPS__ConnectionString'
type: 'Custom'
connectionString: 'HostName=${dpsName}.azure-devices-provisioning.net;SharedAccessKeyName=${dpsOwnerPolicyName};SharedAccessKey=${listKeys(resourceId('Microsoft.Devices/provisioningServices/keys', dpsName, dpsOwnerPolicyName), '2021-10-15').primaryKey}'
connectionString: 'HostName=${dpsName}.azure-devices-provisioning.net;SharedAccessKeyName=${dpsOwnerPolicyName};SharedAccessKey=${listKeys(resourceId('Microsoft.Devices/provisioningServices/keys', dpsName, dpsOwnerPolicyName), '2022-12-12').primaryKey}'
}
{
name: 'Azure__StorageAccount__ConnectionString'
Expand Down
2 changes: 1 addition & 1 deletion templates/azure/dps.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ param iotHubName string
@description('IoTHub owner policy name.')
param iotHubOwnerPolicyName string

resource dps 'Microsoft.Devices/provisioningServices@2021-10-15' = {
resource dps 'Microsoft.Devices/provisioningServices@2022-12-12' = {
name: dpsName
location: location
sku: {
Expand Down

0 comments on commit 2f218b5

Please sign in to comment.